Sha256: 729bea5ffd592150debc94170a7e573bbe4455512f251f2bbbc5fb6851945a82
Contents?: true
Size: 556 Bytes
Versions: 7
Compression:
Stored size: 556 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Function::Predicate::GreaterThanOrEqualTo, '.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(true) } end context 'when left is less than right' do let(:left) { 1 } let(:right) { 2 } it { should be(false) } end end
Version data entries
7 entries across 7 versions & 2 rubygems