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
path: root/spec/lib
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-14 01:19:24 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-06-14 01:19:24 +0300
commit75a40ad5bcee37f43fcfe89789dbd8c65be56c21 (patch)
tree498acf2d595e0206e43ed4d5097525ae999083c2 /spec/lib
parent0b3c97422136683357cdb4433a5ef0aa8858c18d (diff)
Change `foo.should_not` syntax to `expect(foo).not_to` in specs
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/ldap/access_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ldap/access_spec.rb b/spec/lib/gitlab/ldap/access_spec.rb
index 2189e313d6a..fc346ea29d0 100644
--- a/spec/lib/gitlab/ldap/access_spec.rb
+++ b/spec/lib/gitlab/ldap/access_spec.rb
@@ -56,7 +56,7 @@ describe Gitlab::LDAP::Access do
it "should unblock user in GitLab" do
access.allowed?
- user.should_not be_blocked
+ expect(user).not_to be_blocked
end
end
end