Commit Graph

4 Commits

Author SHA1 Message Date
Robert Speicher e48a1755f4 Add traits for the different Event types to the Event factory 2017-02-01 16:02:03 -05:00
Robert Speicher d0315d5393 Factories with a project association use `:empty_project` by default 2017-01-24 20:30:56 -05:00
Stan Hu cf9ee8fda7 Fix broken spec due to last_activity_at updates being throttled
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.
2016-09-19 22:59:15 -07:00
Robert Speicher 6df45eb463 Move all factory definitions to their own file 2016-03-04 15:26:51 -05:00