diff options
author | Rubén Dávila <ruben@gitlab.com> | 2015-11-20 22:27:31 +0300 |
---|---|---|
committer | Rubén Dávila <ruben@gitlab.com> | 2015-11-20 22:27:31 +0300 |
commit | 976cebe45681766764509c3b4df630ced6cc6e03 (patch) | |
tree | d52ec8c29a1441501623e0bcbe06de7377ac57ce /spec/services/issues | |
parent | 3aabed3456506d1a917e6daba29cd46ce6a25dab (diff) |
Little fix for Rubocop's complaints. #2296
Diffstat (limited to 'spec/services/issues')
-rw-r--r-- | spec/services/issues/update_service_spec.rb | 4 |
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 |