1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Load test fixtures where data are needed

Without this, some tests here were not actually testing anything.
This commit is contained in:
Akira Matsuda 2013-11-11 19:43:34 +09:00
parent f5802708db
commit 48b10134a5

View file

@ -61,6 +61,8 @@ module ActiveRecord
end
class DelegationRelationTest < DelegationTest
fixtures :comments
def target
Comment.where.not(body: nil)
end