Sha256: 0f13c93ed3d6b4a89685e9e103a528b0544eea74b21f91f01ec6d87f6b73649b
Contents?: true
Size: 440 Bytes
Versions: 1
Compression:
Stored size: 440 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Function::Predicate::Exclusion, '.call' do subject { object.call(left, right) } let(:object) { described_class } context 'when left is excluded from right' do let(:left) { 1 } let(:right) { [0] } it { should be(true) } end context 'when left is not excluded from right' do let(:left) { 1 } let(:right) { [1] } it { should be(false) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.1 | spec/unit/axiom/function/predicate/exclusion/class_methods/call_spec.rb |