Sha256: 0938d485a12a27f9c83978802faf72c9dab2adfd15d64d1673a1d7d1b5a0d324
Contents?: true
Size: 382 Bytes
Versions: 2
Compression:
Stored size: 382 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 expect(sut.matches?(2)).to be_true expect(sut.matches?(3)).to be_false end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fakes-1.1.6 | spec/specs/regular_arg_matcher_spec.rb |
fakes-1.1.5 | spec/specs/regular_arg_matcher_spec.rb |