fix broken tests

This commit is contained in:
Mike Greiling 2017-07-19 01:44:38 -05:00
parent f2c0ab398e
commit b74b2d8e86

View file

@ -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