Read about our upcoming Code of Conduct on this issue

Commit 68e6a171 authored by Rémy Coutable's avatar Rémy Coutable Committed by Winnie Hellmann
Browse files

Stub ENV in the LDAP task spec file

Signed-off-by: default avatarRémy Coutable <>
parent e9e9276543e4
......@@ -4,7 +4,7 @@
it 'completes without error' do
Rake.application.rake_require 'tasks/gitlab/ldap'
ENV['force'] = 'yes'
stub_env('force', 'yes')
create(:identity) # Necessary to prevent `exit 1` from the task.
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