summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-09-06 12:07:33 +0200
committerRémy Coutable <remy@rymai.me>2018-09-26 18:34:26 +0200
commitd2afddfeff29c15cad737db4898664381ce0f985 (patch)
tree3fd5b7f6329bf4fe4ce9851e8bc16e92def8d205 /spec/factories
parent65cf805278c1d865ee0543508de92d5f4ecae4f0 (diff)
downloadgitlab-ce-d2afddfeff29c15cad737db4898664381ce0f985.tar.gz
Refactor EventFilter and increase its test coverage1801-allow-event_filter-to-be-set-in-the-url
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/events.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/events.rb b/spec/factories/events.rb
index 5798b81ecad..bf8411b1894 100644
--- a/spec/factories/events.rb
+++ b/spec/factories/events.rb
@@ -24,7 +24,7 @@ FactoryBot.define do
factory :push_event, class: PushEvent do
project factory: :project_empty_repo
- author factory: :user
+ author(factory: :user) { project.creator }
action Event::PUSHED
end