diff options
author | Rémy Coutable <remy@rymai.me> | 2017-10-10 17:25:20 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-10-18 18:42:09 +0200 |
commit | 4774b6cfd2095974df4267e4e4871b38b274a956 (patch) | |
tree | 8bf740af7246146ab7161cff7fb5359e604c6d68 /spec/tasks | |
parent | 91553ae83363c2a862d4e606599a613b6fa7e224 (diff) | |
download | gitlab-ce-4774b6cfd2095974df4267e4e4871b38b274a956.tar.gz |
Stub ENV in the LDAP task spec file
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/tasks')
-rw-r--r-- | spec/tasks/gitlab/ldap_rake_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/tasks/gitlab/ldap_rake_spec.rb b/spec/tasks/gitlab/ldap_rake_spec.rb index 12d442b9820..279234f2887 100644 --- a/spec/tasks/gitlab/ldap_rake_spec.rb +++ b/spec/tasks/gitlab/ldap_rake_spec.rb @@ -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. |