Skip to content

Commit

Permalink
unauthorized in test
Browse files Browse the repository at this point in the history
  • Loading branch information
basschoen committed Aug 22, 2014
1 parent a23dc75 commit 35ee6b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/api/v1/api_login_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class API::V1::ApiLoginTest < ActionDispatch::IntegrationTest
test 'do not login with fault post' do
post '/api/v1/sessions', wrong_param: 'wrong'

assert_response :success
assert_response :unauthorized

result = JSON.parse @response.body

Expand Down

0 comments on commit 35ee6b7

Please sign in to comment.