diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-01-01 16:44:33 -0800 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-01-01 16:44:33 -0800 |
commit | 6c89e3818d85e3169a7fb8de27b25357c2259881 (patch) | |
tree | 2ffe9fbe8765239733a864646ce71f9551736151 /spec/relations/projection_relation_spec.rb | |
parent | 0496a59e1fe0caf2d295defb588a00460cf15efb (diff) | |
download | rails-6c89e3818d85e3169a7fb8de27b25357c2259881.tar.gz rails-6c89e3818d85e3169a7fb8de27b25357c2259881.tar.bz2 rails-6c89e3818d85e3169a7fb8de27b25357c2259881.zip |
integration test
Diffstat (limited to 'spec/relations/projection_relation_spec.rb')
-rw-r--r-- | spec/relations/projection_relation_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/relations/projection_relation_spec.rb b/spec/relations/projection_relation_spec.rb index ba5620dcde..f17f57df7b 100644 --- a/spec/relations/projection_relation_spec.rb +++ b/spec/relations/projection_relation_spec.rb @@ -19,7 +19,9 @@ describe ProjectionRelation do describe '#to_sql' do it "manufactures sql with a limited select clause" do ProjectionRelation.new(@relation1, @attribute1).to_sql.should == SelectBuilder.new do - select 'foo.foo' + select do + column :foo, :foo + end from :foo end end |