diff options
Diffstat (limited to 'spec/controllers/stream_entries_controller_spec.rb')
-rw-r--r-- | spec/controllers/stream_entries_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/stream_entries_controller_spec.rb b/spec/controllers/stream_entries_controller_spec.rb index 1b5f1fd7a..56b636ab4 100644 --- a/spec/controllers/stream_entries_controller_spec.rb +++ b/spec/controllers/stream_entries_controller_spec.rb @@ -6,12 +6,12 @@ RSpec.describe StreamEntriesController, type: :controller do describe 'GET #show' do it 'returns http success with HTML' do - get :show, account_username: alice.username, id: status.stream_entry.id + get :show, params: { account_username: alice.username, id: status.stream_entry.id } expect(response).to have_http_status(:success) end it 'returns http success with Atom' do - get :show, account_username: alice.username, id: status.stream_entry.id, format: 'atom' + get :show, params: { account_username: alice.username, id: status.stream_entry.id }, format: 'atom' expect(response).to have_http_status(:success) end end |