about summary refs log tree commit diff
path: root/spec/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/application_helper_spec.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb
index d294b9587..9f68a504a 100644
--- a/spec/helpers/application_helper_spec.rb
+++ b/spec/helpers/application_helper_spec.rb
@@ -1,11 +1,7 @@
 require 'rails_helper'
 
 RSpec.describe ApplicationHelper, type: :helper do
-  let(:local_domain) { 'local.tld' }
-
-  before do
-    Rails.configuration.x.local_domain = local_domain
-  end
+  let(:local_domain) { Rails.configuration.x.local_domain }
 
   describe '#unique_tag' do
     it 'returns a string' do