about summary refs log tree commit diff
path: root/spec/helpers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-02-29 20:06:39 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-02-29 20:06:39 +0100
commit23d08c6749eb142b24f22045f643d0591af579ff (patch)
treeb0a9a211e03e77be014ce64659e7674b7419b213 /spec/helpers
parent0e8f59c16fcb21301c736ecbc4424cb4c5388c42 (diff)
Changing the use of config constants to the Rails configuration object
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/application_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb
index b36954b78..c19f636ca 100644
--- a/spec/helpers/application_helper_spec.rb
+++ b/spec/helpers/application_helper_spec.rb
@@ -4,7 +4,7 @@ RSpec.describe ApplicationHelper, type: :helper do
   let(:local_domain) { 'local.tld' }
 
   before do
-    stub_const('LOCAL_DOMAIN', local_domain)
+    Rails.configuration.x.local_domain = local_domain
   end
 
   describe '#unique_tag' do