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

- old
+ new

@@ -27,10 +27,13 @@ end end describe "#get_token" do it "gets access token" do - subject.should_receive(:make_request).with(:get, "/oauth2/token", {:params=>{:scope=>"xyz", :state=>"abc xyz", :response_type=>"token", :client_id=>"s6BhdRkqt3"}, :authenticate=>:headers}) + subject.should_receive(:make_request).with(:get, "/oauth2/token", { + :params => {:scope=>"xyz", :state=>"abc xyz", :response_type=>"token", :client_id=>"s6BhdRkqt3"}, + :authenticate => :headers + }) subject.get_token(:params => {:scope => 'xyz', :state => 'abc xyz'}) end end end \ No newline at end of file