Sha256: d1efcac2f90f3457c744cde006eb52b55629305e8607b593c050f8247f45217f
Contents?: true
Size: 422 Bytes
Versions: 5
Compression:
Stored size: 422 Bytes
Contents
require 'spec_helper' module Alf module Sql describe SelectItem, "as_name" do subject{ expr.as_name } context 'on a select item with no real renaming' do let(:expr){ select_item("a", "a") } it{ should eq("a") } end context 'on a select item with with real renaming' do let(:expr){ select_item("a", "x") } it{ should eq("x") } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems