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 49dee153d3
commit d4f2db0902

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