logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 5dc73339ae0a139d06296ae935e23b6f8d0efb5b
parent: ccaf3dbc5ad2df867fe05fa5291d62cf2bc377d2
Author: Eugen <eugen@zeonfederated.com>
Date:   Thu, 13 Apr 2017 02:17:40 +0200

Fix tests issue introduced in #1607 (#1639)


Diffstat:

Mspec/lib/webfinger_resource_spec.rb6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git 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