# File lib/omniauth/test/strategy_macros.rb, line 4 def sets_an_auth_hash it 'sets an auth hash' do expect(last_request.env['omniauth.auth']).to be_kind_of(Hash) end end
# File lib/omniauth/test/strategy_macros.rb, line 10 def sets_provider_to(provider) it "sets the provider to #{provider}" do expect((last_request.env['omniauth.auth'] || {})['provider']).to eq provider end end
Generated with the Darkfish Rdoc Generator 2.