Sha256: ce52046b0204ac0906dae43c8ad9037facecef0df8d968f3bba67a8be3894e28
Contents?: true
Size: 553 Bytes
Versions: 7
Compression:
Stored size: 553 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Function::Predicate::LessThanOrEqualTo, '.call' do subject { object.call(left, right) } let(:object) { described_class } context 'when left is equal to right' do let(:left) { 1 } let(:right) { 1 } it { should be(true) } end context 'when left is greater than right' do let(:left) { 2 } let(:right) { 1 } it { should be(false) } end context 'when left is less than right' do let(:left) { 1 } let(:right) { 2 } it { should be(true) } end end
Version data entries
7 entries across 7 versions & 2 rubygems