diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-14 01:19:24 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-14 01:19:24 +0300 |
commit | 75a40ad5bcee37f43fcfe89789dbd8c65be56c21 (patch) | |
tree | 498acf2d595e0206e43ed4d5097525ae999083c2 /spec/services/projects/destroy_service_spec.rb | |
parent | 0b3c97422136683357cdb4433a5ef0aa8858c18d (diff) |
Change `foo.should_not` syntax to `expect(foo).not_to` in specs
Diffstat (limited to 'spec/services/projects/destroy_service_spec.rb')
-rw-r--r-- | spec/services/projects/destroy_service_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/projects/destroy_service_spec.rb b/spec/services/projects/destroy_service_spec.rb index cdf576cc0c1..381008def5f 100644 --- a/spec/services/projects/destroy_service_spec.rb +++ b/spec/services/projects/destroy_service_spec.rb @@ -12,7 +12,7 @@ describe Projects::DestroyService do Sidekiq::Testing.inline! { destroy_project(project, user, {}) } end - it { Project.all.should_not include(project) } + it { expect(Project.all).not_to include(project) } it { Dir.exists?(path).should be_falsey } it { Dir.exists?(remove_path).should be_falsey } end @@ -23,7 +23,7 @@ describe Projects::DestroyService do Sidekiq::Testing.fake! { destroy_project(project, user, {}) } end - it { Project.all.should_not include(project) } + it { expect(Project.all).not_to include(project) } it { Dir.exists?(path).should be_falsey } it { Dir.exists?(remove_path).should be_truthy } end |