Ensure that fixtured content types always define order_by.
This commit is contained in:
parent
ad3fefe304
commit
de3d1b0a12
@ -136,6 +136,7 @@ FactoryGirl.define do
|
||||
factory :content_type do
|
||||
name 'My project'
|
||||
site { Site.where(:subdomain => "acme").first || Factory(:site) }
|
||||
order_by 'created_at'
|
||||
end
|
||||
|
||||
factory :content_instance do
|
||||
|
Loading…
Reference in New Issue
Block a user