Commit 8c5aa5e3b1e9cae4962b797c15cb3366cb689b38
1 parent
cb599a09
Exists in
master
and in
4 other branches
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,7 +112,7 @@ describe MergeRequest do | ||
112 | let(:commit2) { mock('commit2', closes_issues: [issue1]) } | 112 | let(:commit2) { mock('commit2', closes_issues: [issue1]) } |
113 | 113 | ||
114 | before do | 114 | before do |
115 | - subject.stub(unmerged_commits: [commit0, commit1, commit2]) | 115 | + subject.stub(commits: [commit0, commit1, commit2]) |
116 | end | 116 | end |
117 | 117 | ||
118 | it 'accesses the set of issues that will be closed on acceptance' do | 118 | it 'accesses the set of issues that will be closed on acceptance' do |