summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-13 18:19:24 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-13 18:19:24 -0400
commit75a40ad5bcee37f43fcfe89789dbd8c65be56c21 (patch)
tree498acf2d595e0206e43ed4d5097525ae999083c2 /spec/models
parent0b3c97422136683357cdb4433a5ef0aa8858c18d (diff)
downloadgitlab-ce-75a40ad5bcee37f43fcfe89789dbd8c65be56c21.tar.gz
Change `foo.should_not` syntax to `expect(foo).not_to` in specs
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/project_services/irker_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_services/irker_service_spec.rb b/spec/models/project_services/irker_service_spec.rb
index 49face26bb4..96ab95c05c9 100644
--- a/spec/models/project_services/irker_service_spec.rb
+++ b/spec/models/project_services/irker_service_spec.rb
@@ -43,7 +43,7 @@ describe IrkerService do
let(:_recipients) { 'a b c d' }
it 'should add an error if there is too many recipients' do
subject.send :check_recipients_count
- subject.errors.should_not be_blank
+ expect(subject.errors).not_to be_blank
end
end