Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c8b11b0c
Commit
c8b11b0c
authored
Jun 07, 2017
by
Douwe Maan
Committed by
Bob Van Landuyt
Jun 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add stub_omniauth_setting
parent
9c972754
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
spec/support/stub_configuration.rb
spec/support/stub_configuration.rb
+4
-0
No files found.
spec/support/stub_configuration.rb
View file @
c8b11b0c
...
@@ -25,6 +25,10 @@ module StubConfiguration
...
@@ -25,6 +25,10 @@ module StubConfiguration
allow
(
Gitlab
.
config
.
mattermost
).
to
receive_messages
(
messages
)
allow
(
Gitlab
.
config
.
mattermost
).
to
receive_messages
(
messages
)
end
end
def
stub_omniauth_setting
(
messages
)
allow
(
Gitlab
.
config
.
omniauth
).
to
receive_messages
(
messages
)
end
private
private
# Modifies stubbed messages to also stub possible predicate versions
# Modifies stubbed messages to also stub possible predicate versions
...
...
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