This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

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