Sha256: 5766e337bc69198b436e1e869a08d822fdee4c79ed0ba37ae3b1a2d01b9838a6
Contents?: true
Size: 513 Bytes
Versions: 26
Compression:
Stored size: 513 Bytes
Contents
require 'spec_helper_integration' feature 'Implicit Grant Flow' do background do config_is_set(:authenticate_resource_owner) { User.first || redirect_to('/sign_in') } client_exists create_resource_owner sign_in end scenario 'resource owner authorizes the client' do visit authorization_endpoint_url(:client => @client, :response_type => 'token') click_on "Authorize" access_token_should_exist_for @client, @resource_owner i_should_be_on_client_callback @client end end
Version data entries
26 entries across 26 versions & 1 rubygems