Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7763925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:46:58+00:00 2026-06-01T14:46:58+00:00

The rspec test fails when trying to click_button Create my account saying The action

  • 0

The rspec test fails when trying to click_button “Create my account” saying “The action ‘create’ could not be found for UsersController.

I’m assuming that this is a RESTful problem where it’s defaulting to POST instead of GET (or something like that). Why oh why else would it be trying to call ‘create’ instead of ‘new’? In the next section – 7.3 – a ‘create’ action is defined but the tutorial says that tests should be passing by the end of 7.2.2.

On the other hand, I could simply be missing something. That’s why I’m not writing to admin at the tutorial site.

I’d post my code but I’ve verified that it’s the same as the tutorial’s examples:
http://ruby.railstutorial.org/chapters/sign-up?version=3.2#sec:signup_form

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T14:46:59+00:00Added an answer on June 1, 2026 at 2:46 pm

    No, you are not missing anything. It seems you are catching a slight doco error.

    Indeed, Hartl says so right in the beginning of 7.3.1 “Our first step is to eliminate the error that currently results when submitting the signup form, as you can verify in your browser or * by running the test for signup with invalid information *” (my emphasis).

    Still, I’d like him to clear this up as well, there seems to be just a little more to this. I also happen to be not catching any regex errors for poorly formed email addresses.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to expect an error in an rspec test. lambda {Participant.create!({:user_id => three.id,
I'm trying to test a presenter method using a Capybara RSpec matcher. Lets say
I'm trying to perform an integration test via Watir and RSpec . So, I
I am trying to capture screenshots on test failure using selenium-client and rspec. I
I'm new in rspec, write rspec-test for View and there's a problem: test fails
I'm trying to use capybara with rspec to test my rails app. I've simplified
My homecontroller has: def about() end And I have a rspec test that does
I am trying an rspec test where the example looks like so: it cannot
I have a test that fails and I just cannot figure out how to
Using RSpec and Cancan, I have this test which fails with: Failure/Error: User.should_receive(:new).and_return(@user) expected:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.