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.
This commit is contained in:
Lin Jen-Shin 2017-08-11 20:10:43 +08:00
parent e04c1ae7c7
commit 501be36c2e
1 changed files with 2 additions and 2 deletions

View File

@ -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