Stub ENV in the LDAP task spec file
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
91553ae833
commit
4774b6cfd2
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue