aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2014-09-05 09:49:22 +0900
committerAkira Matsuda <ronnie@dio.jp>2014-09-05 09:50:49 +0900
commit312e4cda78e04d04308a3b9bee822f540d11103f (patch)
tree1ea32da7202c5a80ae3ee273f8ec81e0561164de /activerecord/test
parented7c851c4b43936453cacf41013a49fa57854ea5 (diff)
downloadrails-312e4cda78e04d04308a3b9bee822f540d11103f.tar.gz
rails-312e4cda78e04d04308a3b9bee822f540d11103f.tar.bz2
rails-312e4cda78e04d04308a3b9bee822f540d11103f.zip
Load :developers fixtures where expecting a Developer to be there
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/relation/merging_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/relation/merging_test.rb b/activerecord/test/cases/relation/merging_test.rb
index 0d537fbfe3..8f40a1890d 100644
--- a/activerecord/test/cases/relation/merging_test.rb
+++ b/activerecord/test/cases/relation/merging_test.rb
@@ -117,7 +117,7 @@ class RelationMergingTest < ActiveRecord::TestCase
end
class MergingDifferentRelationsTest < ActiveRecord::TestCase
- fixtures :posts, :authors
+ fixtures :posts, :authors, :developers
test "merging where relations" do
hello_by_bob = Post.where(body: "hello").joins(:author).