Hello,
Below is a test case which shows strange fixtures behaviour (tested against edge revision 7955). Is this behaviour correct or should I fill a bug report?
class StrangeFixturesBehaviourTest < Test::Unit::TestCase fixtures :topics
def test_disturbed_fixtures topics(:first) # causes trouble later
content = "Have a drink! Enjoy! Welcome to paradise!"
Topic.find(1).update_attributes(:content => content)
assert_equal content, topics(:first).content # fails end
def test_undisturbed_fixtures content = "Have a drink! Enjoy! Welcome to paradise!"
Topic.find(2).update_attributes(:content => content)
assert_equal content, topics(:second).content # passes end
end