Ruby on Rails Tuesday, March 24, 2015

Hassan is correct. I would check the value used in the name property of the field. First_Name is not the same as first_name. 

On Sunday, March 22, 2015 at 3:36:25 PM UTC-5, Hassan Schroeder wrote:
On Sun, Mar 22, 2015 at 9:41 AM, Shawn Wilson <sbwil...@gmail.com> wrote: 

>   1) Create User lists redirects to the users list index page on success 
>      Failure/Error: fill_in "First_Name", with: "Shawn" 
>      Capybara::ElementNotFound: 
>        Unable to find field "First_Name" 

The message seems pretty straightforward: are you absolutely sure 
that "First_Name" is a label on the page? I would normally expect 
human-readable text like e.g. "First name". 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c53bfcaf-63c3-4f7d-bede-2373ec40cd58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment