From 6064001d642fdbd18cdfe2aafc1f17e8fb248bd1 Mon Sep 17 00:00:00 2001 From: Nick Kallen Date: Fri, 16 May 2008 14:43:27 -0700 Subject: additional test coverage for some random complex case --- spec/arel/unit/primitives/expression_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/arel/unit') diff --git a/spec/arel/unit/primitives/expression_spec.rb b/spec/arel/unit/primitives/expression_spec.rb index 8a990231f6..ace439b952 100644 --- a/spec/arel/unit/primitives/expression_spec.rb +++ b/spec/arel/unit/primitives/expression_spec.rb @@ -14,6 +14,7 @@ module Arel describe '#bind' do it "manufactures an attribute with a rebound relation and self as the ancestor" do + pending derived_relation = @relation.select(@relation[:id].eq(1)) @expression.bind(derived_relation).should == Expression.new(@attribute.bind(derived_relation), "COUNT", nil, @expression) end -- cgit v1.2.3