Commit 8c5aa5e3b1e9cae4962b797c15cb3366cb689b38

Authored by Dmitriy Zaporozhets
1 parent cb599a09

Fix test

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
spec/models/merge_request_spec.rb
... ... @@ -112,7 +112,7 @@ describe MergeRequest do
112 112 let(:commit2) { mock('commit2', closes_issues: [issue1]) }
113 113  
114 114 before do
115   - subject.stub(unmerged_commits: [commit0, commit1, commit2])
  115 + subject.stub(commits: [commit0, commit1, commit2])
116 116 end
117 117  
118 118 it 'accesses the set of issues that will be closed on acceptance' do
... ...