search for: test_index_us

Displaying 2 results from an estimated 2 matches for "test_index_us".

Did you mean: test_index_user
2006 Jun 15
5
[Fwd: Functional test problem]
...of bugs might not have found otherwise). But having a bit of a prob with a functional test. I''m trying to enumerate through through a list of users in a fixtures file, and test against each one, but it''s doing something very weird. Here''s the basics of the test def test_index_user User.find(:all).each do |user| get :index, {}, {:user => user.id} assert_response :success assert_tag :tag => "div", :attributes => { :id => "usermenu" }, :content => /Hello\s#{user...
2006 Jun 14
0
Functional test problem
...of bugs might not have found otherwise). But having a bit of a prob with a functional test. I''m trying to enumerate through through a list of users in a fixtures file, and test against each one, but it''s doing something very weird. Here''s the basics of the test def test_index_user User.find(:all).each do |user| get :index, {}, {:user => user.id} assert_response :success assert_tag :tag => "div", :attributes => { :id => "usermenu" }, :content => /Hello...