diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-08-11 15:10:43 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-08-11 15:10:43 +0300 |
commit | 501be36c2e3e5c0191e68d23df0f330100bbb8be (patch) | |
tree | c9ca8dd43e9686db8bf0d1766f5eea2b0939090c /spec/controllers/projects/issues_controller_spec.rb | |
parent | e04c1ae7c7adfe58ef3d48a760576667cc710248 (diff) |
Just use the repo. Not sure why master could pass
It keeps giving me no repo error from setting up autocrlf,
which shouldn't have anything to do with this merge request.
Diffstat (limited to 'spec/controllers/projects/issues_controller_spec.rb')
-rw-r--r-- | spec/controllers/projects/issues_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/projects/issues_controller_spec.rb b/spec/controllers/projects/issues_controller_spec.rb index 68f38c4c6ea..b571b11dcac 100644 --- a/spec/controllers/projects/issues_controller_spec.rb +++ b/spec/controllers/projects/issues_controller_spec.rb @@ -855,11 +855,11 @@ describe Projects::IssuesController do end describe 'POST create_merge_request' do + let(:project) { create(:project, :repository) } + before do project.add_developer(user) sign_in(user) - - allow_any_instance_of(MergeRequest).to receive(:write_ref) end it 'creates a new merge request' do |