summaryrefslogtreecommitdiff
path: root/spec/models/identity_spec.rb
diff options
context:
space:
mode:
authorGabriel Mazetto <gabriel@gitlab.com>2016-01-12 12:29:10 -0200
committerGabriel Mazetto <gabriel@gitlab.com>2016-01-12 12:29:10 -0200
commitac6a10f3e88c5d2081b8638df63016089517a844 (patch)
treee39451ddb02f6689d0f9d77b8d08d2d91abd3c71 /spec/models/identity_spec.rb
parent47e4613f4adc2d6ef4b066a87ec772ef8044bdd5 (diff)
downloadgitlab-ce-ac6a10f3e88c5d2081b8638df63016089517a844.tar.gz
Codestyle changes
Diffstat (limited to 'spec/models/identity_spec.rb')
-rw-r--r--spec/models/identity_spec.rb4
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