File tree Expand file tree Collapse file tree 1 file changed +16
-15
lines changed
Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Original file line number Diff line number Diff line change 77require 'rspec/rails'
88
99
10- OmniAuth . config . test_mode = true
11- omniauth_hash = { 'provider' => 'github' ,
12- 'uid' => '12345' ,
13- 'info' => {
14- 'name' => 'bret' ,
15- 'email' => 'bret@iscool.com' ,
16- 'nickname' => 'bad6e'
17- } ,
18- 'extra' => { 'raw_info' =>
19- { 'location' => 'Planet Neptune' ,
20- 'gravatar_id' => '123456789'
21- }
22- }
23- }
10+ # OmniAuth.config.test_mode = true
11+ # omniauth_hash = { 'provider' => 'github',
12+ # 'uid' => '12345',
13+ # 'info' => {
14+ # 'name' => 'bret',
15+ # 'email' => 'bret@iscool.com',
16+ # 'nickname' => 'bad6e'
2417
25- OmniAuth . config . add_mock ( :github , omniauth_hash )
18+ # },
19+ # 'extra' => {'raw_info' =>
20+ # { 'location' => 'Planet Neptune',
21+ # 'gravatar_id' => '123456789'
22+ # }
23+ # }
24+ # }
25+
26+ # OmniAuth.config.add_mock(:github, omniauth_hash)
2627# Add additional requires below this line. Rails is not loaded until this point!
2728
2829# Requires supporting ruby files with custom matchers and macros, etc, in
You can’t perform that action at this time.
0 commit comments