Fix randomly fail (regression from #3560) (#3580)

This commit is contained in:
Yamagishi Kazutoshi 2017-06-05 17:03:36 +09:00 committed by Eugen Rochko
parent 6adbd114c1
commit 6a4b224397

View File

@ -6,7 +6,7 @@ describe WebfingerResource do
before_web = Rails.configuration.x.web_domain before_web = Rails.configuration.x.web_domain
example.run example.run
Rails.configuration.x.local_domain = before_local Rails.configuration.x.local_domain = before_local
Rails.configuration.x.webdomain = before_web Rails.configuration.x.web_domain = before_web
end end
describe '#username' do describe '#username' do