From 948dd26931f450d42322c32a3eb9d97eccb69d4d Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Sun, 23 Apr 2017 13:10:04 -0400 Subject: Fix deprecation warnings on activitypub controller specs (#2357) --- spec/controllers/api/activitypub/outbox_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/controllers/api/activitypub/outbox_controller_spec.rb') diff --git a/spec/controllers/api/activitypub/outbox_controller_spec.rb b/spec/controllers/api/activitypub/outbox_controller_spec.rb index 55fb9b509..9a47dde6b 100644 --- a/spec/controllers/api/activitypub/outbox_controller_spec.rb +++ b/spec/controllers/api/activitypub/outbox_controller_spec.rb @@ -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 -- cgit