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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
e082090e
Commit
e082090e
authored
May 20, 2019
by
Brett Walker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove 'already initialized constant' warnings
parent
01a28ead
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
spec/support/helpers/stub_configuration.rb
spec/support/helpers/stub_configuration.rb
+2
-1
No files found.
spec/support/helpers/stub_configuration.rb
View file @
e082090e
...
...
@@ -2,7 +2,8 @@ require 'active_support/core_ext/hash/transform_values'
require
'active_support/hash_with_indifferent_access'
require
'active_support/dependencies'
require_dependency
'gitlab'
# check gets rid of already initialized constant warnings when using spring
require_dependency
'gitlab'
unless
defined?
(
Gitlab
)
module
StubConfiguration
def
stub_application_setting
(
messages
)
...
...
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