diff options
author | Phil Hughes <me@iamphill.com> | 2016-09-02 14:00:57 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-09-02 14:00:57 +0100 |
commit | 69db604e55de2bdf1a28c274be6cc9131534517d (patch) | |
tree | c84a624f8f6a5f66a470b486c5534c8d2b046d00 /spec/views | |
parent | d2e2da4cb474bdd713eae71df3da644856ce4b81 (diff) | |
download | gitlab-ce-69db604e55de2bdf1a28c274be6cc9131534517d.tar.gz |
Updated tests
Diffstat (limited to 'spec/views')
-rw-r--r-- | spec/views/projects/merge_requests/edit.html.haml_spec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/views/projects/merge_requests/edit.html.haml_spec.rb b/spec/views/projects/merge_requests/edit.html.haml_spec.rb index 31bbb150698..9da05e1721c 100644 --- a/spec/views/projects/merge_requests/edit.html.haml_spec.rb +++ b/spec/views/projects/merge_requests/edit.html.haml_spec.rb @@ -7,12 +7,15 @@ describe 'projects/merge_requests/edit.html.haml' do let(:project) { create(:project) } let(:fork_project) { create(:project, forked_from_project: project) } let(:unlink_project) { Projects::UnlinkForkService.new(fork_project, user) } + let(:milestone) { create(:milestone, project: project) } let(:closed_merge_request) do create(:closed_merge_request, source_project: fork_project, target_project: project, - author: user) + author: user, + assignee: user, + milestone: milestone) end before do |