spec/client_spec.rb in yammer-oauth2-0.3.0 vs spec/client_spec.rb in yammer-oauth2-0.3.1
- old
+ new
@@ -69,13 +69,11 @@
'User-Agent' => "Yammer OAuth2 Gem #{YammerOAuth2::Version}",
'Content-Type' => "application/x-www-form-urlencoded"
}
)
response = subject.exchange_auth_code_for_token(
- :params => {
- :code => 'MmOGL795LbIZuJJVnL49Cc',
- :redirect_uri => 'https://localhost'
- }
+ 'MmOGL795LbIZuJJVnL49Cc',
+ :redirect_uri => 'https://localhost'
)
end
end
end