diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-07-19 09:44:38 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-07-19 09:44:38 +0300 |
commit | b74b2d8e867c0b3d58c636df205060f9434cb0c7 (patch) | |
tree | 62423acc7b5d74233fd628e2f3e7111e90e0bfb7 /spec/controllers/users_controller_spec.rb | |
parent | f2c0ab398eb71ba9549ebd6d70b7fa7c8707b380 (diff) |
fix broken tests
Diffstat (limited to 'spec/controllers/users_controller_spec.rb')
-rw-r--r-- | spec/controllers/users_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb index 842d82cdbe9..7aeb6efd86d 100644 --- a/spec/controllers/users_controller_spec.rb +++ b/spec/controllers/users_controller_spec.rb @@ -80,9 +80,9 @@ describe UsersController do it 'renders calendar' do 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 context 'forked project' do |