fix broken tests
This commit is contained in:
parent
f2c0ab398e
commit
b74b2d8e86
1 changed files with 2 additions and 2 deletions
|
@ -80,9 +80,9 @@ describe UsersController do
|
||||||
it 'renders calendar' do
|
it 'renders calendar' do
|
||||||
sign_in(user)
|
sign_in(user)
|
||||||
|
|
||||||
get :calendar, username: user.username
|
get :calendar, username: user.username, format: :json
|
||||||
|
|
||||||
expect(response).to render_template('calendar')
|
expect(response).to have_http_status(200)
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'forked project' do
|
context 'forked project' do
|
||||||
|
|
Loading…
Reference in a new issue