0
0
Fork 0

Fix deprecation warnings on activitypub controller specs (#2357)

This commit is contained in:
Matt Jankowski 2017-04-23 13:10:04 -04:00 committed by Eugen
parent 55e1e12b7d
commit 948dd26931
3 changed files with 6 additions and 6 deletions

View file

@ -19,7 +19,7 @@ RSpec.describe Api::Activitypub::OutboxController, type: :controller do
Status.create!(account: user.account, text: 'Hello world', visibility: :unlisted)
Status.create!(account: user.account, text: 'Hello world', visibility: :direct)
get :show, id: user.account.id
get :show, params: { id: user.account.id }
end
it 'returns http success' do
@ -59,7 +59,7 @@ RSpec.describe Api::Activitypub::OutboxController, type: :controller do
describe 'first page' do
before do
get :show, id: user.account.id
get :show, params: { id: user.account.id }
end
it 'returns http success' do