diff options
author | Eugen <eugen@zeonfederated.com> | 2017-04-13 02:17:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-13 02:17:40 +0200 |
commit | 5dc73339ae0a139d06296ae935e23b6f8d0efb5b (patch) | |
tree | 13585dc09deda29c5bf7950aa3efc441ed6b541d /spec | |
parent | ccaf3dbc5ad2df867fe05fa5291d62cf2bc377d2 (diff) |
Fix tests issue introduced in #1607 (#1639)
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/webfinger_resource_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/lib/webfinger_resource_spec.rb b/spec/lib/webfinger_resource_spec.rb index 6c9a5ff2c..dfd23062f 100644 --- a/spec/lib/webfinger_resource_spec.rb +++ b/spec/lib/webfinger_resource_spec.rb @@ -1,6 +1,12 @@ require 'rails_helper' describe WebfingerResource do + around do |example| + before = Rails.configuration.x.local_domain + example.run + Rails.configuration.x.local_domain = before + end + describe '#username' do describe 'with a URL value' do it 'raises with an unrecognized route' do |