diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 14:02:30 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 14:02:30 +0100 |
commit | 71ae4dd3d2dbafc1ef6e7716c379d01ea194aafe (patch) | |
tree | 024ff59a43fb775105dd9936a094fb206725231e /spec/controllers/stream_entries_controller_spec.rb | |
parent | c349200761bdbf5beac22648da07b0768addc4d6 (diff) |
Adding public following and followers pages, fix #3
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 5fa3195eb..1b5f1fd7a 100644 --- a/spec/controllers/stream_entries_controller_spec.rb +++ b/spec/controllers/stream_entries_controller_spec.rb @@ -5,12 +5,12 @@ RSpec.describe StreamEntriesController, type: :controller do let(:status) { Fabricate(:status, account: alice) } describe 'GET #show' do - it 'returns 200 with HTML' do + it 'returns http success with HTML' do get :show, account_username: alice.username, id: status.stream_entry.id expect(response).to have_http_status(:success) end - it 'returns 200 with Atom' do + it 'returns http success with Atom' do get :show, account_username: alice.username, id: status.stream_entry.id, format: 'atom' expect(response).to have_http_status(:success) end |