Sha256: ef8445281f94cfbdfd81a2e771173f2e7afc8023386c73abdaf749145a041159
Contents?: true
Size: 429 Bytes
Versions: 84
Compression:
Stored size: 429 Bytes
Contents
require 'spec_helper' require 'pact/matchers/regexp_difference' module Pact module Matchers describe RegexpDifference do context "when a regexp is expected" do subject { RegexpDifference.new(/ap/, 'pear').as_json } it "indicates that the actual was indended 'to match'" do expect(subject).to eq({:EXPECTED_TO_MATCH => "/ap/", :ACTUAL => "pear"}) end end end end end
Version data entries
84 entries across 84 versions & 2 rubygems