Revision 1e2ad6c9
Added by Marek Hulán about 8 years ago
test/factories/reports_related.rb | ||
---|---|---|
end
|
||
end
|
||
|
||
trait :adrift do
|
||
after(:build) do |report|
|
||
report.created_at = 20.minutes.ago
|
||
report.reported_at = 5.minutes.ago
|
||
end
|
||
end
|
||
|
||
factory :log do
|
||
report
|
||
level_id 1
|
Also available in: Unified diff
Fixes #14154 - fix adrift reports show page
(cherry picked from commit fc362ac8b5f9a9f8fb10ccaec1f68d5471b1bcf8)