Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Dávila <ruben@gitlab.com>2015-11-20 22:27:31 +0300
committerRubén Dávila <ruben@gitlab.com>2015-11-20 22:27:31 +0300
commit976cebe45681766764509c3b4df630ced6cc6e03 (patch)
treed52ec8c29a1441501623e0bcbe06de7377ac57ce /spec/services/issues
parent3aabed3456506d1a917e6daba29cd46ce6a25dab (diff)
Little fix for Rubocop's complaints. #2296
Diffstat (limited to 'spec/services/issues')
-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