diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-11-11 19:43:34 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-11-11 19:53:54 +0900 |
commit | 48b10134a55724958d464a0bca3f1857a8b4a814 (patch) | |
tree | fdc41c818316485ae96f2b3f50609475e6c3efc0 | |
parent | f5802708db9480624b611975ef190dcc1b9443c5 (diff) | |
download | rails-48b10134a55724958d464a0bca3f1857a8b4a814.tar.gz rails-48b10134a55724958d464a0bca3f1857a8b4a814.tar.bz2 rails-48b10134a55724958d464a0bca3f1857a8b4a814.zip |
Load test fixtures where data are needed
Without this, some tests here were not actually testing anything.
-rw-r--r-- | activerecord/test/cases/relation/delegation_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/cases/relation/delegation_test.rb b/activerecord/test/cases/relation/delegation_test.rb index 7440bdad43..1b60c97b51 100644 --- a/activerecord/test/cases/relation/delegation_test.rb +++ b/activerecord/test/cases/relation/delegation_test.rb @@ -61,6 +61,8 @@ module ActiveRecord end class DelegationRelationTest < DelegationTest + fixtures :comments + def target Comment.where.not(body: nil) end |