Sha256: bd15bfc9b7ca86aa5953e1625093441c0d92426b696b759eec8912b1b8976207
Contents?: true
Size: 645 Bytes
Versions: 4
Compression:
Stored size: 645 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe SQL::Generator::Function::Predicate, '#visit_veritas_function_predicate_less_than' do subject { object.visit_veritas_function_predicate_less_than(less_than) } let(:described_class) { Class.new(SQL::Generator::Visitor) { include SQL::Generator::Function::Predicate } } let(:less_than) { Attribute::Integer.new(:id).lt(1) } let(:object) { described_class.new } it_should_behave_like 'a generated SQL expression' its(:to_s) { should eql('"id" < 1') } end
Version data entries
4 entries across 4 versions & 1 rubygems