Commit b22049a4 authored by Stan Hu's avatar Stan Hu

Resolve conflicts in spec/support/shared_examples/services/boards/issues_move_service.rb

parent 4c91d7db
...@@ -4,15 +4,8 @@ shared_examples 'issues move service' do |group| ...@@ -4,15 +4,8 @@ shared_examples 'issues move service' do |group|
let(:params) { { board_id: board1.id, from_list_id: list1.id, to_list_id: list2.id } } let(:params) { { board_id: board1.id, from_list_id: list1.id, to_list_id: list2.id } }
it 'delegates the label changes to Issues::UpdateService' do it 'delegates the label changes to Issues::UpdateService' do
<<<<<<< HEAD
service = instance_double('Issues::UpdateService', :service)
allow(Issues::UpdateService).to receive(:new).and_return(service)
=======
service = double(:service) service = double(:service)
expect(Issues::UpdateService).to receive(:new).and_return(service) expect(Issues::UpdateService).to receive(:new).and_return(service)
>>>>>>> upstream/master
expect(service).to receive(:execute).with(issue).once expect(service).to receive(:execute).with(issue).once
described_class.new(parent, user, params).execute(issue) described_class.new(parent, user, params).execute(issue)
......
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