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
88cd527b
Commit
88cd527b
authored
Feb 05, 2018
by
Mario de la Ossa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resolve conflicts on spec/lib/gitlab/current_settings_spec.rb
parent
310b2e7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
spec/lib/gitlab/current_settings_spec.rb
spec/lib/gitlab/current_settings_spec.rb
+0
-3
No files found.
spec/lib/gitlab/current_settings_spec.rb
View file @
88cd527b
...
@@ -26,7 +26,6 @@ describe Gitlab::CurrentSettings do
...
@@ -26,7 +26,6 @@ describe Gitlab::CurrentSettings do
allow
(
ActiveRecord
::
Base
.
connection
).
to
receive
(
:active?
).
and_return
(
true
)
allow
(
ActiveRecord
::
Base
.
connection
).
to
receive
(
:active?
).
and_return
(
true
)
allow
(
ActiveRecord
::
Base
.
connection
).
to
receive
(
:table_exists?
).
and_call_original
allow
(
ActiveRecord
::
Base
.
connection
).
to
receive
(
:table_exists?
).
and_call_original
allow
(
ActiveRecord
::
Base
.
connection
).
to
receive
(
:table_exists?
).
with
(
'application_settings'
).
and_return
(
true
)
allow
(
ActiveRecord
::
Base
.
connection
).
to
receive
(
:table_exists?
).
with
(
'application_settings'
).
and_return
(
true
)
<<<<<<<
HEAD
end
end
# This method returns the ::ApplicationSetting.defaults hash
# This method returns the ::ApplicationSetting.defaults hash
...
@@ -35,8 +34,6 @@ describe Gitlab::CurrentSettings do
...
@@ -35,8 +34,6 @@ describe Gitlab::CurrentSettings do
defaults
=
::
ApplicationSetting
.
defaults
defaults
=
::
ApplicationSetting
.
defaults
ar_wrapped_defaults
=
::
ApplicationSetting
.
new
(
defaults
).
attributes
ar_wrapped_defaults
=
::
ApplicationSetting
.
new
(
defaults
).
attributes
ar_wrapped_defaults
.
slice
(
*
defaults
.
keys
)
ar_wrapped_defaults
.
slice
(
*
defaults
.
keys
)
=======
>>>>>>>
upstream
/
master
end
end
it
'attempts to use cached values first'
do
it
'attempts to use cached values first'
do
...
...
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