summaryrefslogtreecommitdiff
path: root/spec/services/destroy_group_service_spec.rb
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/services/destroy_group_service_spec.rb
parent0b3c97422136683357cdb4433a5ef0aa8858c18d (diff)
downloadgitlab-ce-75a40ad5bcee37f43fcfe89789dbd8c65be56c21.tar.gz
Change `foo.should_not` syntax to `expect(foo).not_to` in specs
Diffstat (limited to 'spec/services/destroy_group_service_spec.rb')
-rw-r--r--spec/services/destroy_group_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/destroy_group_service_spec.rb b/spec/services/destroy_group_service_spec.rb
index 24e439503e7..2a7372b986e 100644
--- a/spec/services/destroy_group_service_spec.rb
+++ b/spec/services/destroy_group_service_spec.rb
@@ -12,8 +12,8 @@ describe DestroyGroupService do
destroy_group(group, user)
end
- it { Group.all.should_not include(group) }
- it { Project.all.should_not include(project) }
+ it { expect(Group.all).not_to include(group) }
+ it { expect(Project.all).not_to include(project) }
end
context 'file system' do