diff options
author | Emilio Tagua <miloops@gmail.com> | 2008-12-20 17:05:53 -0300 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-12-20 20:39:25 +0000 |
commit | c092dbef50ba207174a94b7e0beb7782a3d86649 (patch) | |
tree | c66676cfaafd03f656d71ae334b01f7fc30686b5 /activerecord/test | |
parent | 7b249b67e9df9f375eaad9e6eb41be73338faaa7 (diff) | |
download | rails-c092dbef50ba207174a94b7e0beb7782a3d86649.tar.gz rails-c092dbef50ba207174a94b7e0beb7782a3d86649.tar.bz2 rails-c092dbef50ba207174a94b7e0beb7782a3d86649.zip |
Add missing fixture to allow reload models test to run isolated [#1609 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/reload_models_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/cases/reload_models_test.rb b/activerecord/test/cases/reload_models_test.rb index 411b5f6afa..0d16a3526f 100644 --- a/activerecord/test/cases/reload_models_test.rb +++ b/activerecord/test/cases/reload_models_test.rb @@ -3,6 +3,8 @@ require 'models/owner' require 'models/pet' class ReloadModelsTest < ActiveRecord::TestCase + fixtures :pets + def test_has_one_with_reload pet = Pet.find_by_name('parrot') pet.owner = Owner.find_by_name('ashley') @@ -17,4 +19,4 @@ class ReloadModelsTest < ActiveRecord::TestCase pet.owner = Owner.find_by_name('ashley') assert_equal pet.owner, Owner.find_by_name('ashley') end -end
\ No newline at end of file +end |