Sha256: d6255e0f386c18f9edbd155258617701e1a8705a71c0d321ebd0938fd22783c3
Contents?: true
Size: 509 Bytes
Versions: 1
Compression:
Stored size: 509 Bytes
Contents
require 'spec_helper' require 'pact/shared/request' module Pact module Request describe Base do class TestRequest < Base def self.key_not_found nil end end subject { TestRequest.new("get", "/", {some: "things"}, {some: "things"} , "some=things") } describe "#to_json" do it "renders the keys in a sensible order" do expect(subject.to_json).to match(/method.*path.*query.*headers.*body/) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pact-1.1.0.rc3 | spec/lib/pact/shared/request_spec.rb |