Sha256: fedca5bc14194252d2f076f9ed4176a39d1138664dcb3b2742559b5227b1bd9f

Contents?: true

Size: 304 Bytes

Versions: 4

Compression:

Stored size: 304 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Function::Predicate::GreaterThanOrEqualTo, '#inspect' do
  subject { object.inspect }

  let(:attribute) { Attribute::Integer.new(:id)       }
  let(:object)    { described_class.new(attribute, 1) }

  it { should == "(#{attribute.inspect} >= 1)" }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
veritas-0.0.7 spec/unit/veritas/function/predicate/greater_than_or_equal_to/inspect_spec.rb
veritas-0.0.6 spec/unit/veritas/function/predicate/greater_than_or_equal_to/inspect_spec.rb
veritas-0.0.5 spec/unit/veritas/function/predicate/greater_than_or_equal_to/inspect_spec.rb
veritas-0.0.4 spec/unit/veritas/function/predicate/greater_than_or_equal_to/inspect_spec.rb