Sha256: 3577b0414ee0d3098a885e853cba23bd8cd6a79bf2969aec28216576c59365c4
Contents?: true
Size: 327 Bytes
Versions: 5
Compression:
Stored size: 327 Bytes
Contents
require 'spec_helper' describe Restfulie do it "should accept parameters in get requests" do result = Restfulie.at('http://localhost:4567/request_with_querystring').get(:foo => "bar", :bar => "foo") params = JSON.parse(result.body) params["foo"].should == "bar" params["bar"].should == "foo" end end
Version data entries
5 entries across 5 versions & 2 rubygems