1
0
Fork 0
mirror of https://github.com/simi/omniauth-facebook.git synced 2022-11-09 12:32:45 -05:00

Stub request scheme in tests.

This commit is contained in:
Josef Šimánek 2014-01-22 07:32:15 +01:00
parent 58468dae80
commit ea5b7064d3

View file

@ -36,6 +36,7 @@ class StrategyTestCase < TestCase
@request.stubs(:params).returns({})
@request.stubs(:cookies).returns({})
@request.stubs(:env).returns({})
@request.stubs(:scheme).returns({})
@request.stubs(:ssl?).returns(false)
@client_id = '123'