Sha256: fc7c558c1ae9abf3763c33162cba1975e6016e04cb66d06c1a6c8e170791a0f2

Contents?: true

Size: 366 Bytes

Versions: 5

Compression:

Stored size: 366 Bytes

Contents

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

        subject{ Reorder.new([:b, :a], Builder.new).on_select_list(expr) }

        let(:expr){
          select_list_ab
        }

        let(:expected){
          select_list_ba
        }

        it{ should eq(expected) }

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-sql-0.16.3 spec/processor/reorder/test_on_select_list.rb
alf-sql-0.16.2 spec/processor/reorder/test_on_select_list.rb
alf-sql-0.16.1 spec/processor/reorder/test_on_select_list.rb
alf-sql-0.16.0 spec/processor/reorder/test_on_select_list.rb
alf-sql-0.15.0 spec/processor/reorder/test_on_select_list.rb