Fix Lint/UselessAssignment
cop (#27472)
This commit is contained in:
parent
7bc8f03162
commit
bcd0171e5e
16 changed files with 22 additions and 50 deletions
|
@ -62,7 +62,7 @@ describe AccountControllerConcern do
|
|||
end
|
||||
|
||||
it 'sets link headers' do
|
||||
account = Fabricate(:account, username: 'username')
|
||||
Fabricate(:account, username: 'username')
|
||||
get 'success', params: { account_username: 'username' }
|
||||
expect(response.headers['Link'].to_s).to eq '<http://test.host/.well-known/webfinger?resource=acct%3Ausername%40cb6e6126.ngrok.io>; rel="lrdd"; type="application/jrd+json", <https://cb6e6126.ngrok.io/users/username>; rel="alternate"; type="application/activity+json"'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue