Commit 4c91d7db authored by Stan Hu's avatar Stan Hu

Resolve conflicts in spec/services/notes/create_service_spec.rb

parent 24cfda9e
......@@ -145,15 +145,8 @@ describe Notes::CreateService do
let(:note_text) { %(HELLO\n/close\n/assign @#{user.username}\nWORLD) }
it 'saves the note and does not alter the note text' do
<<<<<<< HEAD
service = instance_double('Issues::UpdateService', :service)
allow(Issues::UpdateService).to receive(:new).and_return(service)
=======
service = double(:service)
allow(Issues::UpdateService).to receive(:new).and_return(service)
>>>>>>> upstream/master
expect(service).to receive(:execute)
note = described_class.new(project, user, opts.merge(note: note_text)).execute
......
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