search for: test_good_registration

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

2006 Jun 29
0
@response.body accumulating in functional tests?
I have two functional tests for my user controller: def test_bad_registration post :register, :email => "tester1@foo.com" assert_response :success assert_not_nil @response.body =~ /^\<error/ assert_nil assigns[''user''] end def test_good_registration @response.body = nil post :register, :username => "tester", :name => "Tester", :password => "test", :email => "tester@foo.com" assert_not_nil assigns[''user''] assert_response :success...