Skip to content

Commit 28cff7e

Browse files
committed
Hoping this helps
1 parent 42962f5 commit 28cff7e

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

spec/rails_helper.rb

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,23 @@
77
require '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

0 commit comments

Comments
 (0)