Sha256: 2cfd6b1bf7d0d95195162b77eb4b7df848e8615386667608bc85b0afe9c29770

Contents?: true

Size: 402 Bytes

Versions: 4

Compression:

Stored size: 402 Bytes

Contents

require 'spec_helper'
module Alf
  module Sql
    describe SelectList, "is_table_dee" do

      subject{ expr.is_table_dee? }

      context 'on a normal select list' do
        let(:expr){ select_list }

        it{ should be_false }
      end

      context 'on a is_table_dee select list' do
        let(:expr){ Builder::IS_TABLE_DEE.dup }

        it{ should be_true }
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-sql-0.16.3 spec/nodes/select_list/test_is_table_dee.rb
alf-sql-0.16.2 spec/nodes/select_list/test_is_table_dee.rb
alf-sql-0.16.1 spec/nodes/select_list/test_is_table_dee.rb
alf-sql-0.16.0 spec/nodes/select_list/test_is_table_dee.rb