Commit f3d4f2ea authored by Josh Frye's avatar Josh Frye

Fix Rubocop error

parent c95bc655
require 'spec_helper' require 'spec_helper'
describe Notes::CreateService, services: true do describe Notes::PostProcessService, services: true do
let(:project) { create(:empty_project) } let(:project) { create(:empty_project) }
let(:issue) { create(:issue, project: project) } let(:issue) { create(:issue, project: project) }
let(:user) { create(:user) } let(:user) { create(:user) }
...@@ -17,10 +17,10 @@ describe Notes::CreateService, services: true do ...@@ -17,10 +17,10 @@ describe Notes::CreateService, services: true do
@note = Notes::CreateService.new(project, user, note_opts).execute @note = Notes::CreateService.new(project, user, note_opts).execute
end end
it { it do
expect(project).to receive(:execute_hooks) expect(project).to receive(:execute_hooks)
expect(project).to receive(:execute_services) expect(project).to receive(:execute_services)
Notes::PostProcessService.new(@note).execute Notes::PostProcessService.new(@note).execute
} end
end end
end end
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