Sha256: c5091719e77bd6f0f19efd3eba25974a1b7cf4090de46a40a804489832d5e980

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

require 'spec_helper'

describe 'Veritas::Logic::Predicate::GreaterThan#inspect' do
  subject { object.inspect }

  let(:klass)     { Logic::Predicate::GreaterThan }
  let(:attribute) { Attribute::Integer.new(:id)   }
  let(:object)    { klass.new(attribute, 1)       }

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.2 spec/unit/veritas/logic/predicate/greater_than/inspect_spec.rb