Commit f9e8687db3e0ff296cdf1be75ed9e4561402f8a1
1 parent
d9ca4b50
Exists in
master
and in
2 other branches
FIrst test passed, test new rack app.
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
lib/omniauth/remote_user.rb
spec/omniauth/strategies/remote_user_spec.rb
... | ... | @@ -4,7 +4,7 @@ describe 'Test Strategy Remote_User' do |
4 | 4 | let(:app) do |
5 | 5 | Rack::Builder.new do |b| |
6 | 6 | b.use Rack::Session::Cookie, :secret => 'abc123' |
7 | - b.use OmniAuth::Strategies::RemoteUser#, :fields => [:name, :email], :uid_field => :name | |
7 | + b.use OmniAuth::Strategies::RemoteUser, :fields => [:name, :email], :uid_field => :name | |
8 | 8 | b.run lambda { |_env| [200, {}, ['Not Found']] } |
9 | 9 | end.to_app |
10 | 10 | end | ... | ... |