spec/requests/flows/password_spec.rb in doorkeeper-0.7.1 vs spec/requests/flows/password_spec.rb in doorkeeper-0.7.2
- old
+ new
@@ -46,19 +46,9 @@
token = Doorkeeper::AccessToken.first
should_have_json 'refresh_token', token.refresh_token
end
-
- scenario 'should return the same token if it is still accessible' do
- client_is_authorized(@client, @resource_owner)
-
- post password_token_endpoint_url(:client => @client, :resource_owner => @resource_owner)
-
- Doorkeeper::AccessToken.count.should be(1)
-
- should_have_json 'access_token', Doorkeeper::AccessToken.first.token
- end
end
context "with invalid user credentials" do
scenario "should not issue new token with bad password" do
expect {