spec/oauth_spec.rb in warden-github-0.2.0 vs spec/oauth_spec.rb in warden-github-0.2.1
- old
+ new
@@ -9,10 +9,10 @@
uri.scheme.should eql('https')
uri.host.should eql('github.com')
params = uri.query_values
params['response_type'].should eql('code')
- params['scope'].should eql('user,public_repo,repo,gist')
+ params['scope'].should eql('')
params['client_id'].should match(/\w{20}/)
params['redirect_uri'].should eql('http://example.org/auth/github/callback')
end
end