Sha256: babe32acf70285b0438073f3a090ac5f986d846b1e3dca7b7061a4db2f057fb7
Contents?: true
Size: 431 Bytes
Versions: 1
Compression:
Stored size: 431 Bytes
Contents
require 'spec_helper' describe 'Veritas::Logic::Predicate::Equality.call' do subject { object.call(left, right) } let(:object) { Logic::Predicate::Equality } context 'when left is equal to right' do let(:left) { true } let(:right) { true } it { should be(true) } end context 'when left is not equal to right' do let(:left) { true } let(:right) { false } it { should be(false) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/logic/predicate/equality/class_methods/call_spec.rb |