diff options
author | Felipe Artur <felipefac@gmail.com> | 2018-07-30 21:52:42 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2018-08-06 17:58:22 +0300 |
commit | fdb5f285f924e653400f7bbe18d13718c469d74f (patch) | |
tree | 3570730544d21c8d463aed792e9adcd686ea436a /spec/presenters/merge_request_presenter_spec.rb | |
parent | cb2e07309b4e61501a44c3568155bdb73252338f (diff) |
Retrieve merge request closing issues from database cache
Diffstat (limited to 'spec/presenters/merge_request_presenter_spec.rb')
-rw-r--r-- | spec/presenters/merge_request_presenter_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/presenters/merge_request_presenter_spec.rb b/spec/presenters/merge_request_presenter_spec.rb index 46ba6f442f5..a1b52d8692d 100644 --- a/spec/presenters/merge_request_presenter_spec.rb +++ b/spec/presenters/merge_request_presenter_spec.rb @@ -117,9 +117,9 @@ describe MergeRequestPresenter do before do project.add_developer(user) - allow(resource.project).to receive(:default_branch) .and_return(resource.target_branch) + resource.cache_merge_request_closes_issues! end describe '#closing_issues_links' do |