diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-28 11:23:33 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-28 11:25:43 +0200 |
commit | 1c6b02f936b984a17343b85a5cfb07ed93dd1cfb (patch) | |
tree | 1c07e9fb58d65000cdabf1548ee606a490aea8de /spec/controllers | |
parent | 448a07cc3f4e4f6905b6b1c519c29d28b72bda2b (diff) |
Fix #690 - Webfinger should handle new shortform profile URLs now (nice)
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/xrd_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/xrd_controller_spec.rb b/spec/controllers/xrd_controller_spec.rb index eeaaaa786..e687cf9e0 100644 --- a/spec/controllers/xrd_controller_spec.rb +++ b/spec/controllers/xrd_controller_spec.rb @@ -14,7 +14,7 @@ RSpec.describe XrdController, type: :controller do let(:alice) { Fabricate(:account, username: 'alice') } it 'returns http success when account can be found' do - get :webfinger, params: { resource: "acct:#{alice.username}@anything.com" } + get :webfinger, params: { resource: "acct:#{alice.username}@#{Rails.configuration.x.local_domain}" } expect(response).to have_http_status(:success) end |