Commit 8c5aa5e3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
parent cb599a09
......@@ -112,7 +112,7 @@ describe MergeRequest do
let(:commit2) { mock('commit2', closes_issues: [issue1]) }
before do
subject.stub(unmerged_commits: [commit0, commit1, commit2])
subject.stub(commits: [commit0, commit1, commit2])
end
it 'accesses the set of issues that will be closed on acceptance' do
......
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