search for: chris_logged_in

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

2006 May 03
1
Test not Reseting
...page 146 of Agile Web Development on Rails that it would. Am I doing something wrong? The "@delete_victim = User.find(4)" bust the setup class each time it comes around, even though that is in my users.yml class UserTest < Test::Unit::TestCase fixtures :users def setup @chris_logged_in = User.new({:username => ''cwinslett'', :password => ''testpassword''}) @chris_logged_in = @chris_logged_in.try_to_login @sherri = User.find(2) @delete_victim = User.find(4) end # Replace this with your real tests. de...