spec/oauth2/grant/client_credentials_spec.rb in oauth2-client-1.0.0 vs spec/oauth2/grant/client_credentials_spec.rb in oauth2-client-1.1.0

- old
+ new

@@ -19,10 +19,13 @@ end end describe "#get_token" do it "exchanges authorization code for access token" do - subject.should_receive(:make_request).with(:post, "/oauth2/token", {:params=>{:grant_type=>"client_credentials"}, :authenticate=>:headers}) + subject.should_receive(:make_request).with(:post, "/oauth2/token", { + :params => {:grant_type=>"client_credentials"}, + :authenticate=>:headers + }) subject.get_token end end end \ No newline at end of file