From c9fa1b47f83f6d07b91fe10922b0e8d042933c1f Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 27 Jul 2010 19:21:58 -0700 Subject: PERF: *args is slow. also removing a non-feature --- spec/algebra/unit/relations/relation_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/algebra') diff --git a/spec/algebra/unit/relations/relation_spec.rb b/spec/algebra/unit/relations/relation_spec.rb index be77c64b17..4e25de73d1 100644 --- a/spec/algebra/unit/relations/relation_spec.rb +++ b/spec/algebra/unit/relations/relation_spec.rb @@ -115,8 +115,8 @@ module Arel end describe 'when given a blank number of items' do - it 'returns self' do - @relation.take.should == @relation + it 'raises error' do + lambda { @relation.take }.should raise_exception end end end -- cgit v1.2.3