search for: grant_speelman

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

2006 Apr 21
2
destory Test Case Messes up all tests
...he test that destroys the user all my other tests work again. All the fixtures are suppose be reloaded between tests right? Here is my testcase : require File.dirname(__FILE__) + ''/../test_helper'' class UserTest < Test::Unit::TestCase fixtures :users def setup # get grant_speelman user @first_user = User.find(1) end # Test updating of a user def test_update assert_equal @grant_speelman.firstname, @first_user.firstname assert_equal @grant_speelman.surname, @first_user.surname assert_equal @grant_speelman.email, @first_user.email @first_user.firstnam...