From a3b8ef8375056cd3b6a8cea49dec671f2a8f6c41 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Sun, 22 Aug 2010 18:13:39 -0700 Subject: orders are working --- spec/arel/nodes/select_core_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'spec/arel/nodes/select_core_spec.rb') diff --git a/spec/arel/nodes/select_core_spec.rb b/spec/arel/nodes/select_core_spec.rb index cf717a3904..30927abea6 100644 --- a/spec/arel/nodes/select_core_spec.rb +++ b/spec/arel/nodes/select_core_spec.rb @@ -13,11 +13,11 @@ describe Arel::Nodes::SelectCore do o.should_receive(:clone).and_return("#{o}#{j}") end end - + dolly = core.clone - dolly.froms.should == %w[a0 b1 c2] - dolly.projections.should == %w[d0 e1 f2] - dolly.wheres.should == %w[g0 h1 i2] + check dolly.froms.should == %w[a0 b1 c2] + check dolly.projections.should == %w[d0 e1 f2] + check dolly.wheres.should == %w[g0 h1 i2] end end end -- cgit v1.2.3