spec/examples/github_client_spec.rb in oauth2-client-1.1.3 vs spec/examples/github_client_spec.rb in oauth2-client-2.0.0

- old
+ new

@@ -40,10 +40,10 @@ :client_id => '2945e6425da3d5d17ffc', :client_secret => '0a8f686f2835a70a79dbcece2ec63bc5079f40a8' }, :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