Commit 423653bd authored by Małgorzata Ksionek's avatar Małgorzata Ksionek

Add group_saml specs

parent c5944009
......@@ -99,6 +99,11 @@ RSpec.describe Gitlab::Auth::GroupSaml::User do
expect(find_and_update.projects_limit).to eq(20)
end
end
it 'does not send user confirmation email' do
expect { find_and_update }
.not_to have_enqueued_mail(DeviseMailer, :confirmation_instructions)
end
end
context 'when a conflicting user already exists' do
......
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