Commit 9d3f8b35 authored by charlie ablett's avatar charlie ablett Committed by Rémy Coutable

Remove extra line in `spec/models/merge_request_spec.rb`

parent 19bac158
......@@ -476,7 +476,6 @@ describe MergeRequest do
it 'does not cache issues from external trackers' do
issue = ExternalIssue.new('JIRA-123', subject.project)
commit = double('commit1', safe_message: "Fixes #{issue.to_reference}")
allow(subject).to receive(:commits).and_return([commit])
expect { subject.cache_merge_request_closes_issues!(subject.author) }.not_to raise_error
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment