Sha256: 8d7a3583cd127d2b1ea07c8f3c94417bf58199240ad15f1a2ed980b1bb398e2b
Contents?: true
Size: 421 Bytes
Versions: 85
Compression:
Stored size: 421 Bytes
Contents
require 'spec_helper' require 'pact/matchers/index_not_found' module Pact describe IndexNotFound 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