Sha256: 1275bd910d917b1c676eb099af333427321899be5e67b4544a7a5a9512bc1b42
Contents?: true
Size: 620 Bytes
Versions: 5
Compression:
Stored size: 620 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe SQL::Generator::Direction, '#visit_veritas_relation_operation_order_descending' do subject { object.visit_veritas_relation_operation_order_descending(direction) } let(:described_class) { Class.new(SQL::Generator::Visitor) { include SQL::Generator::Direction } } let(:direction) { Attribute::Integer.new(:id).desc } let(:object) { described_class.new } it_should_behave_like 'a generated SQL expression' its(:to_s) { should eql('"id" DESC') } end
Version data entries
5 entries across 5 versions & 1 rubygems