diff --git a/features/oauth.feature b/features/oauth.feature index 72dbfb26d..2fc5a33b2 100644 --- a/features/oauth.feature +++ b/features/oauth.feature @@ -63,6 +63,6 @@ Feature: oauth And I am on the authorizations page And I preemptively confirm the alert - And I follow "Delete" + And I follow "Revoke Access" Then I visit "/account?id=1" on Chubbies Then I should see "Token invalid" diff --git a/features/step_definitions/oauth_steps.rb b/features/step_definitions/oauth_steps.rb index d32a00286..f09af5580 100644 --- a/features/step_definitions/oauth_steps.rb +++ b/features/step_definitions/oauth_steps.rb @@ -11,7 +11,7 @@ Given /^Chubbies is registered on my pod$/ do public_key = OpenSSL::PKey::RSA.new(packaged_manifest['public_key']) manifest = JWT.decode(packaged_manifest['jwt'], public_key) - client = OAuth2::Provider.client_class.create_or_reset_from_manifest!(manifest) + client = OAuth2::Provider.client_class.create_or_reset_from_manifest!(manifest, public_key) params = {:client_id => client.oauth_identifier, :client_secret => client.oauth_secret, :host => "localhost:9887"}