Sha256: feddf310717a3a3de9d8a8b7e9c548eb00d8b3a804908d9ce34c7d221461ed05
Contents?: true
Size: 448 Bytes
Versions: 5
Compression:
Stored size: 448 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
5 entries across 5 versions & 2 rubygems