BigW Consortium Gitlab

Commit 68e6a171 by Rémy Coutable Committed by Winnie Hellmann

Stub ENV in the LDAP task spec file

Signed-off-by: 's avatarRémy Coutable <remy@rymai.me>
parent 19e70e3f
......@@ -4,7 +4,7 @@ describe 'gitlab:ldap:rename_provider rake task' do
it 'completes without error' do
Rake.application.rake_require 'tasks/gitlab/ldap'
stub_warn_user_is_not_gitlab
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