Remove LDAP save test

This is handled within the LDAP class
parent 92c184a5
...@@ -29,14 +29,14 @@ describe Gitlab::OAuth::User do ...@@ -29,14 +29,14 @@ describe Gitlab::OAuth::User do
end end
describe :save do describe :save do
context "LDAP" do let(:provider) { 'twitter' }
let(:provider) { 'ldap' }
it "creates a user from LDAP" do it "creates a user from Omniauth" do
oauth_user.save oauth_user.save
expect(gl_user).to be_valid expect(gl_user).to be_valid
expect(gl_user.extern_uid).to eql uid expect(gl_user.extern_uid).to eql uid
expect(gl_user.provider).to eql 'ldap' expect(gl_user.provider).to eql 'twitter'
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment