cf9ee8fda7
In https://gitlab.com/gitlab-org/gitlab-ce/builds/4218398, the build failed because the last_activity_at column was only being updated once per hour. We can fix this spec by stubbing out the throttling and adjusting the spec to test the right event timestamp.
11 lines
201 B
Ruby
11 lines
201 B
Ruby
FactoryGirl.define do
|
|
factory :event do
|
|
project
|
|
author factory: :user
|
|
|
|
factory :closed_issue_event do
|
|
action { Event::CLOSED }
|
|
target factory: :closed_issue
|
|
end
|
|
end
|
|
end
|