summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/services/issues/update_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/issues/update_service_spec.rb b/spec/services/issues/update_service_spec.rb
index bc6a26416a2..cc3e6483261 100644
--- a/spec/services/issues/update_service_spec.rb
+++ b/spec/services/issues/update_service_spec.rb
@@ -135,9 +135,9 @@ describe Issues::UpdateService do
end
it 'should not generate a new note at all' do
- expect {
+ expect do
update_issue({ description: "- [ ] One\n- [ ] Two\n- [ ] Three" })
- }.not_to change { Note.count }
+ end.not_to change { Note.count }
end
end
end