Sha256: 369e666c3a4ae8c17b2682520fcfc9a54d607bab128f0f6f604a7cf677ec5903

Contents?: true

Size: 294 Bytes

Versions: 4

Compression:

Stored size: 294 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Function::Predicate::Inequality, '#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/inequality/inspect_spec.rb
veritas-0.0.6 spec/unit/veritas/function/predicate/inequality/inspect_spec.rb
veritas-0.0.5 spec/unit/veritas/function/predicate/inequality/inspect_spec.rb
veritas-0.0.4 spec/unit/veritas/function/predicate/inequality/inspect_spec.rb