mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 12:05:07 +01:00
parent
ccaf3dbc5a
commit
5dc73339ae
@ -1,6 +1,12 @@
|
|||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
describe WebfingerResource do
|
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 '#username' do
|
||||||
describe 'with a URL value' do
|
describe 'with a URL value' do
|
||||||
it 'raises with an unrecognized route' do
|
it 'raises with an unrecognized route' do
|
||||||
|
Loading…
Reference in New Issue
Block a user