Commit 88cd527b authored by Mario de la Ossa's avatar Mario de la Ossa

resolve conflicts on spec/lib/gitlab/current_settings_spec.rb

parent 310b2e7f
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment