Upgrade to Rails 5.0.0.1
This commit is contained in:
parent
ff2cbc0753
commit
10ba09f546
47 changed files with 398 additions and 291 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue