summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRubén Dávila <ruben@gitlab.com>2015-11-20 14:27:31 -0500
committerRubén Dávila <ruben@gitlab.com>2015-11-20 14:27:31 -0500
commit976cebe45681766764509c3b4df630ced6cc6e03 (patch)
treed52ec8c29a1441501623e0bcbe06de7377ac57ce /spec
parent3aabed3456506d1a917e6daba29cd46ce6a25dab (diff)
downloadgitlab-ce-976cebe45681766764509c3b4df630ced6cc6e03.tar.gz
Little fix for Rubocop's complaints. #2296issue_2296
Diffstat (limited to 'spec')
-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