Permalink
Browse files

Fixes web_server_spec.

  • Loading branch information...
1 parent 9650cea commit 78b36bb4888ed6a60d110e1f42a39146a8d92374 Michael Bleigh committed Apr 27, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/oauth2/strategy/web_server_spec.rb
@@ -5,7 +5,7 @@
cli = OAuth2::Client.new('abc','def', :site => 'http://api.example.com')
cli.connection.build do |b|
b.adapter :test do |stub|
- stub.post('/oauth/access_token?code=sushi&client_id=abc&client_secret=def&type=web_server') do |env|
+ stub.post('/oauth/access_token') do |env|
[200, {}, 'a=1&access_token=salmon&refresh_token=trout']
end
end

0 comments on commit 78b36bb

Please sign in to comment.