Sha256: 84910e3c5b49c34c8ee705df023deaed4bc9046e7e0c971c02a82f1cacc3da0c

Contents?: true

Size: 467 Bytes

Versions: 5

Compression:

Stored size: 467 Bytes

Contents

require 'spec_helper'
module Alf
  module Sql
    class Processor
      describe Star, "on_select_list" do

        subject{ Star.new(Builder.new).on_select_exp(expr) }

        context 'on select_all' do
          let(:expr){ select_all }

          it{ should eq(select_all_star) }
        end

        context 'on select_distinct' do
          let(:expr){ select_distinct }

          it{ should eq(select_distinct_star) }
        end

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-sql-0.16.3 spec/processor/star/test_on_select_exp.rb
alf-sql-0.16.2 spec/processor/star/test_on_select_exp.rb
alf-sql-0.16.1 spec/processor/star/test_on_select_exp.rb
alf-sql-0.16.0 spec/processor/star/test_on_select_exp.rb
alf-sql-0.15.0 spec/processor/star/test_on_select_exp.rb