Commit 3f0e37f6 authored by Sean McGivern's avatar Sean McGivern

Merge branch '34648-use-stub_application_setting-to-test-support_url' into 'master'

Use stub_application_setting when testing ApplicationHelper#support_url

Closes #34648

See merge request !12627
parents 491110d6 4818f904
......@@ -292,7 +292,7 @@ describe ApplicationHelper do
let(:alternate_url) { 'http://company.example.com/getting-help' }
before do
allow(current_application_settings).to receive(:help_page_support_url) { alternate_url }
stub_application_setting(help_page_support_url: alternate_url)
end
it 'returns the alternate support url' 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