@@ -8,10 +8,10 @@ def self.included(base)
88 include TokenParamsTests
99 end
1010 end
11-
11+
1212 module ClientTests
1313 extend BlockTestHelper
14-
14+
1515 test 'should be initialized with symbolized client_options' do
1616 @options = { client_options : { 'authorize_url' => 'https://example.com' } }
1717 assert_equal 'https://example.com' , strategy . client . options [ :authorize_url ]
@@ -20,7 +20,7 @@ module ClientTests
2020
2121 module AuthorizeParamsTests
2222 extend BlockTestHelper
23-
23+
2424 test 'should include any authorize params passed in the :authorize_params option' do
2525 @options = { authorize_params : { foo : 'bar' , baz : 'zip' } }
2626 assert_equal 'bar' , strategy . authorize_params [ 'foo' ]
@@ -32,7 +32,7 @@ module AuthorizeParamsTests
3232 assert_equal 'bar' , strategy . authorize_params [ 'scope' ]
3333 assert_equal 'baz' , strategy . authorize_params [ 'foo' ]
3434 end
35-
35+
3636 test 'should exclude top-level options that are not passed' do
3737 @options = { authorize_options : [ :bar ] }
3838 refute_has_key :bar , strategy . authorize_params
@@ -69,7 +69,7 @@ module CSRFAuthorizeParamsTests
6969
7070 module TokenParamsTests
7171 extend BlockTestHelper
72-
72+
7373 test 'should include any authorize params passed in the :token_params option' do
7474 @options = { token_params : { foo : 'bar' , baz : 'zip' } }
7575 assert_equal 'bar' , strategy . token_params [ 'foo' ]
0 commit comments