rosa-build/spec/factories/statistics.rb

12 lines
284 B
Ruby
Raw Permalink Normal View History

2014-10-15 21:30:12 +01:00
FactoryGirl.define do
factory :statistic do
association :user
association :project
email { FactoryGirl.generate(:email) }
project_name_with_owner { |u| u.project.name_with_owner }
key { FactoryGirl.generate(:string) }
activity_at { Time.now.utc }
end
end