Sha256: e9b91bf8f8ad20fb6e6c26ae64ce772ff7e03cff5e3dc9c936f7d1b3008447fe
Contents?: true
Size: 414 Bytes
Versions: 85
Compression:
Stored size: 414 Bytes
Contents
require 'spec_helper' require 'pact/shared/key_not_found' module Pact describe KeyNotFound do describe "#as_json" do it "returns a string representation of the object" do expect(subject.as_json).to eq subject.to_s end end describe "#to_json" do it "serialises the object to JSON" do expect(subject.to_json).to eq "\"#{subject.to_s}\"" end end end end
Version data entries
85 entries across 85 versions & 2 rubygems