Merge remote-tracking branch 'openstreetmap/pull/1510'
[rails.git] / test / factories / changesets.rb
1 FactoryGirl.define do
2   factory :changeset do
3     created_at Time.now.utc
4     closed_at Time.now.utc + 1.day
5
6     user
7
8     trait :closed do
9       created_at Time.now.utc - 5.hours
10       closed_at Time.now.utc - 4.hours
11     end
12   end
13 end