search for: test_presence_of_field

Displaying 1 result from an estimated 1 matches for "test_presence_of_field".

2007 Jun 25
1
Functional tests and active scaffold: unexpected assertion failure.
Hello, I''m writing a functional test for a controller that uses active scaffold. def test_presence_of_field login_as(:peter) profile = Profile.find :first get :edit, {:id => profile.id} assert_response 200 assert_select "textarea#record_free_text_ec" end I was expecting the first ''assert 200'' to give me a green bar, but added it for confirmation, and indeed it gi...