Sha256: 7e7560c7ce000b381be00b152dcfc9e99a7298be01f33fad1b1920aea2a0a252
Contents?: true
Size: 362 Bytes
Versions: 2
Compression:
Stored size: 362 Bytes
Contents
require 'spec_helper' describe 'Veritas::Logic::Connective::Negation#inspect' do subject { object.inspect } let(:klass) { Logic::Connective::Negation } let(:attribute) { Attribute::Integer.new(:id) } let(:operand) { attribute.eq(1) } let(:object) { klass.new(operand) } it { should == "not(#{operand.inspect})" } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/logic/connective/negation/inspect_spec.rb |
veritas-0.0.1 | spec/unit/veritas/logic/connective/negation/inspect_spec.rb |