Sha256: a89fb464e9e39fbade0a72502f3a166bf3a0acd184b1cf16733b915aa960d12a

Contents?: true

Size: 439 Bytes

Versions: 5

Compression:

Stored size: 439 Bytes

Contents

require 'spec_helper'
module Alf
  module Sql
    class Processor
      describe Requalify, "on_select_exp" do

        subject{ Requalify.new(Builder.new(1)).on_select_exp(expr) }

        context 'when not already ordered' do
          let(:expr){
            select_all
          }

          let(:expected){
            select_all_from_t1_as_t2
          }

          it{ should eq(expected) }
        end

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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