summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMałgorzata Ksionek <meksionek@gmail.com>2019-04-25 11:41:02 +0200
committerMałgorzata Ksionek <meksionek@gmail.com>2019-04-25 11:41:02 +0200
commit29305d10453b401c0a10fb1a719c7a9bf0223e14 (patch)
tree92dc0dc358f2ab4aa75b1ae99966f35d173fdf5d /spec
parent141d658e8c8676dbaf70881bded9834fb757e521 (diff)
downloadgitlab-ce-29305d10453b401c0a10fb1a719c7a9bf0223e14.tar.gz
Fix specs
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/api/project_events_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/project_events_spec.rb b/spec/requests/api/project_events_spec.rb
index 43df9993eb9..f5974ef9400 100644
--- a/spec/requests/api/project_events_spec.rb
+++ b/spec/requests/api/project_events_spec.rb
@@ -124,8 +124,8 @@ describe API::ProjectEvents do
end
context 'when exists some events' do
- let(:merge_request1) { create(:merge_request, :closed, author: user, assignees: [user], source_project: private_project, title: 'Test') }
- let(:merge_request2) { create(:merge_request, :closed, author: user, assignees: [user], source_project: private_project, title: 'Test') }
+ let(:merge_request1) { create(:merge_request, :closed, author: user, assignee: user, source_project: private_project, title: 'Test') }
+ let(:merge_request2) { create(:merge_request, :closed, author: user, assignee: user, source_project: private_project, title: 'Test') }
before do
create_event(merge_request1)