BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
68e6a171
Commit
68e6a171
authored
Oct 10, 2017
by
Rémy Coutable
Committed by
Winnie Hellmann
Oct 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub ENV in the LDAP task spec file
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
19e70e3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ldap_rake_spec.rb
spec/tasks/gitlab/ldap_rake_spec.rb
+1
-1
No files found.
spec/tasks/gitlab/ldap_rake_spec.rb
View file @
68e6a171
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment