Remove LDAP save test

This is handled within the LDAP class
parent 92c184a5
......@@ -29,14 +29,14 @@ describe Gitlab::OAuth::User do
end
describe :save do
context "LDAP" do
let(:provider) { 'ldap' }
it "creates a user from LDAP" do
let(:provider) { 'twitter' }
it "creates a user from Omniauth" do
oauth_user.save
expect(gl_user).to be_valid
expect(gl_user.extern_uid).to eql uid
expect(gl_user.provider).to eql 'ldap'
expect(gl_user.provider).to eql 'twitter'
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