Sha256: a87820aeec20ec185d6814d4e811b7d62b7205d20355d7d2d76aa4aaafefcc31
Contents?: true
Size: 733 Bytes
Versions: 7
Compression:
Stored size: 733 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Function::Connective::Conjunction, '.call' do subject { object.call(left, right) } let(:object) { described_class } context 'when left is true and right is true' do let(:left) { true } let(:right) { true } it { should be(true) } end context 'when left is true and right is false' do let(:left) { true } let(:right) { false } it { should be(false) } end context 'when left is false and right is true' do let(:left) { false } let(:right) { true } it { should be(false) } end context 'when left is false and right is false' do let(:left) { false } let(:right) { false } it { should be(false) } end end
Version data entries
7 entries across 7 versions & 2 rubygems