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
d53eae25
Commit
d53eae25
authored
Dec 16, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve spec/support/stub_configuration.rb
parent
7f0bd503
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
spec/support/stub_configuration.rb
spec/support/stub_configuration.rb
+0
-3
No files found.
spec/support/stub_configuration.rb
View file @
d53eae25
...
@@ -10,7 +10,6 @@ module StubConfiguration
...
@@ -10,7 +10,6 @@ module StubConfiguration
# Ensure that we don't use the Markdown cache when stubbing these values
# Ensure that we don't use the Markdown cache when stubbing these values
allow_any_instance_of
(
ApplicationSetting
).
to
receive
(
:cached_html_up_to_date?
).
and_return
(
false
)
allow_any_instance_of
(
ApplicationSetting
).
to
receive
(
:cached_html_up_to_date?
).
and_return
(
false
)
<<<<<<<
HEAD
end
end
def
stub_application_setting_on_object
(
object
,
messages
)
def
stub_application_setting_on_object
(
object
,
messages
)
...
@@ -21,8 +20,6 @@ module StubConfiguration
...
@@ -21,8 +20,6 @@ module StubConfiguration
messages
.
each
do
|
setting
,
value
|
messages
.
each
do
|
setting
,
value
|
allow
(
object
).
to
receive_message_chain
(
:current_application_settings
,
setting
)
{
value
}
allow
(
object
).
to
receive_message_chain
(
:current_application_settings
,
setting
)
{
value
}
end
end
=======
>>>>>>>
upstream
/
master
end
end
def
stub_not_protect_default_branch
def
stub_not_protect_default_branch
...
...
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