Sha256: ee53328038ac3df9ca2a0bcab9900ff20af15e82d87a8970e94f52086ee3c4e6
Contents?: true
Size: 423 Bytes
Versions: 85
Compression:
Stored size: 423 Bytes
Contents
require 'spec_helper' require 'pact/matchers/unexpected_index' module Pact describe UnexpectedIndex 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