Sha256: fa5f3617085b33f42db16b12d78c3b9add57fb5a1d05c34ad853671d7c514ac7
Contents?: true
Size: 353 Bytes
Versions: 2
Compression:
Stored size: 353 Bytes
Contents
require 'compiler_helper' module Alf module Sequel describe Compiler, "compact" do subject{ compile(expr) } context 'when the operand is fully compilable' do let(:expr){ compact(suppliers) } specify{ subject.sql.should eq("SELECT DISTINCT * FROM `suppliers` AS 't1'") } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alf-sequel-0.14.0 | spec/compiler/test_compact.rb |
alf-sequel-0.13.0 | spec/compiler/test_compact.rb |