Sha256: ab7ad2735a91b0abf3928a85a4f71b388a554ec9b6e2aee6c7519603961b413e
Contents?: true
Size: 374 Bytes
Versions: 25
Compression:
Stored size: 374 Bytes
Contents
require 'spec_helper' module Fakes describe RegularArgMatcher do context "when determining if it matches a value" do let(:sut){RegularArgMatcher.new(2)} it "should match if the incoming value matches the value it was created to match" do sut.matches?(2).should be_true sut.matches?(3).should be_false end end end end
Version data entries
25 entries across 25 versions & 1 rubygems