spec/rack/oauth2/server/token/assertion_spec.rb in rack-oauth2-0.0.7 vs spec/rack/oauth2/server/token/assertion_spec.rb in rack-oauth2-0.0.8
- old
+ new
@@ -41,10 +41,10 @@
:grant_type => "assertion",
:client_id => "valid_client",
:assertion => "invalid_assertion",
:assertion_type => "something"
})
- response.status.should == 400
+ response.status.should == 401
response.content_type.should == "application/json"
response.body.should == "{\"error_description\":\"Invalid assertion.\",\"error\":\"invalid_grant\"}"
end
end
\ No newline at end of file