Commit c89f993b authored by James Lopez's avatar James Lopez

Fix specs

parent 163bb482
......@@ -10,7 +10,7 @@ module EE
ATTRIBUTE_MAP = {
id: :extern_uid,
'name.formatted': :name,
'emails[type eq "work".value': :mail,
'emails[type eq "work".value': :email,
active: :active
}.with_indifferent_access
......
......@@ -3,8 +3,8 @@
require 'spec_helper'
describe ::EE::Gitlab::Scim::Emails do
let(:user) { create(:user) }
let(:identity) { create(:group_saml_identity, user: user) }
let(:user) { build(:user) }
let(:identity) { build(:group_saml_identity, user: user) }
let(:entity) do
described_class.new(user)
......
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