Sha256: d05cc26bdc4e1297162b9f9a144bc7ecc726fdc0e8e7b6fd4d712a7a8bdd4c46
Contents?: true
Size: 474 Bytes
Versions: 84
Compression:
Stored size: 474 Bytes
Contents
require 'spec_helper' require 'pact/matchers/difference' module Pact module Matchers describe Difference do describe "#as_json" do context "when something other than a regexp is expected" do subject { Difference.new("apple", 'pear').as_json } it "indicates that the actual was intended 'to eq'" do expect(subject).to eq({:EXPECTED => "apple", :ACTUAL => "pear"}) end end end end end end
Version data entries
84 entries across 84 versions & 2 rubygems