spec/examples/yammer_client_spec.rb in oauth2-client-1.1.3 vs spec/examples/yammer_client_spec.rb in oauth2-client-2.0.0
- old
+ new
@@ -58,10 +58,10 @@
:client_id => 'PRbTcg9qjgKsp4jjpm1pw',
:client_secret => 'a2nQpcUm2Dgq1chWdAvbXGTk'
},
:headers => {
'Accept' => "application/json",
- 'User-Agent' => "OAuth2 Ruby Gem #{OAuth2::Version}",
+ 'User-Agent' => "OAuth2 Ruby Gem #{OAuth2Client::Version}",
'Content-Type' => "application/x-www-form-urlencoded"
}
)
response = subject.exchange_auth_code_for_token(
:params => {
\ No newline at end of file