Commit 501be36c authored by Lin Jen-Shin's avatar Lin Jen-Shin

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.
parent e04c1ae7
...@@ -855,11 +855,11 @@ describe Projects::IssuesController do ...@@ -855,11 +855,11 @@ describe Projects::IssuesController do
end end
describe 'POST create_merge_request' do describe 'POST create_merge_request' do
let(:project) { create(:project, :repository) }
before do before do
project.add_developer(user) project.add_developer(user)
sign_in(user) sign_in(user)
allow_any_instance_of(MergeRequest).to receive(:write_ref)
end end
it 'creates a new merge request' do it 'creates a new merge request' 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