From 1022d682dc915bcbf3076c0280f29472068830bb Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 4 Sep 2016 14:04:26 +0200 Subject: Normalized data in Redux, fix for asset URLs when rendered outside request --- spec/helpers/application_helper_spec.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'spec') 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 -- cgit