Sha256: 2bc58ddb591e1b79f39aa3638fc1d905aec9b45f2ed4740f4d4e78595cbd70ed
Contents?: true
Size: 435 Bytes
Versions: 2
Compression:
Stored size: 435 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Function::Predicate::LessThanOrEqualTo, '#inverse' do subject { object.inverse } let(:attribute) { Attribute::Integer.new(:id) } let(:object) { described_class.new(attribute, 1) } it_should_behave_like 'an invertible method' it { should be_instance_of(Function::Predicate::GreaterThan) } its(:left) { should be(attribute) } its(:right) { should == 1 } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/function/predicate/less_than_or_equal_to/inverse_spec.rb |
axiom-0.1.1 | spec/unit/axiom/function/predicate/less_than_or_equal_to/inverse_spec.rb |