Commit d53eae25 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Resolve spec/support/stub_configuration.rb

parent 7f0bd503
...@@ -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
......
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