Sha256: 6424198c7de7608477944830146323ff10ce40df431d2b8ceadeadd7b34c0c26
Contents?: true
Size: 347 Bytes
Versions: 1
Compression:
Stored size: 347 Bytes
Contents
require 'spec_helper' describe 'Veritas::Logic::Predicate::NoMatch#inspect' do subject { object.inspect } let(:klass) { Logic::Predicate::NoMatch } let(:attribute) { Attribute::String.new(:name) } let(:object) { klass.new(attribute, /Dan Kubb/) } it { should == "#{attribute.inspect} !~ #{/Dan Kubb/.inspect}" } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/logic/predicate/no_match/inspect_spec.rb |