Revision e14b5758
Added by Greg Sutcliffe over 9 years ago
test/factories/reports_related.rb | ||
---|---|---|
|
||
trait :old_report do
|
||
after_build do |report|
|
||
report.created_at = 2.weeks.ago
|
||
report.created_at = 2.weeks.ago
|
||
report.reported_at = 2.weeks.ago
|
||
end
|
||
end
|
||
|
Also available in: Unified diff
Fixes #7733 - Remove hosts.yml fixtures and use FactoryGirl instead