diff --git a/spec/factories.rb b/spec/factories.rb index 3968ccb9..8a60b85c 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -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