spec/client_spec.rb in yammer-oauth2-0.3.1 vs spec/client_spec.rb in yammer-oauth2-0.3.2

- old
+ new

@@ -54,10 +54,10 @@ end describe "#exchange_auth_code_for_token" do it "makes a request to google oauth2 server" do - stub_request(:post, "https://www.yammer.com/oauth2/token").with( + stub_request(:post, "https://www.yammer.com/oauth2/access_token").with( :body => { :grant_type => 'authorization_code', :code => 'MmOGL795LbIZuJJVnL49Cc', :redirect_uri => 'https://localhost', :client_id => 'PRbTcg9qjgKsp4jjpm1pw',