diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-17 21:30:58 -0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-22 12:13:49 +0200 |
commit | bf71d53f634926bee91955c8ecee7a3869fcd518 (patch) | |
tree | 7e7a78de896f7aa154014420befcf1f01f6b0368 /spec/lib/gitlab/o_auth/auth_hash_spec.rb | |
parent | 0f627f1c6046be06986ee0e6e46d390ec2c18507 (diff) | |
download | gitlab-ce-bf71d53f634926bee91955c8ecee7a3869fcd518.tar.gz |
Change `to_not` calls to `not_to`
Both work, but now we're consistent across the entire app.
Diffstat (limited to 'spec/lib/gitlab/o_auth/auth_hash_spec.rb')
-rw-r--r-- | spec/lib/gitlab/o_auth/auth_hash_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/o_auth/auth_hash_spec.rb b/spec/lib/gitlab/o_auth/auth_hash_spec.rb index 165cde4f160..5404b506813 100644 --- a/spec/lib/gitlab/o_auth/auth_hash_spec.rb +++ b/spec/lib/gitlab/o_auth/auth_hash_spec.rb @@ -51,7 +51,7 @@ describe Gitlab::OAuth::AuthHash do it { expect(auth_hash.email).to eql email_utf8 } it { expect(auth_hash.username).to eql nickname_utf8 } it { expect(auth_hash.name).to eql name_utf8 } - it { expect(auth_hash.password).to_not be_empty } + it { expect(auth_hash.password).not_to be_empty } end context 'email not provided' do |