diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2016-01-12 12:29:10 -0200 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2016-01-12 12:29:10 -0200 |
commit | ac6a10f3e88c5d2081b8638df63016089517a844 (patch) | |
tree | e39451ddb02f6689d0f9d77b8d08d2d91abd3c71 /spec/models | |
parent | 47e4613f4adc2d6ef4b066a87ec772ef8044bdd5 (diff) | |
download | gitlab-ce-ac6a10f3e88c5d2081b8638df63016089517a844.tar.gz |
Codestyle changes
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/identity_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/identity_spec.rb b/spec/models/identity_spec.rb index 107bfc17782..5afe042e154 100644 --- a/spec/models/identity_spec.rb +++ b/spec/models/identity_spec.rb @@ -28,11 +28,11 @@ RSpec.describe Identity, models: true do let(:other_identity) { create(:identity, provider: 'twitter') } it 'returns true if it is a ldap identity' do - expect(ldap_identity.is_ldap?).to be_truthy + expect(ldap_identity.ldap?).to be_truthy end it 'returns false if it is not a ldap identity' do - expect(other_identity.is_ldap?).to be_falsey + expect(other_identity.ldap?).to be_falsey end end end |