aboutsummaryrefslogtreecommitdiffstats
path: root/spec/algebra
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-27 19:21:58 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-27 19:21:58 -0700
commitc9fa1b47f83f6d07b91fe10922b0e8d042933c1f (patch)
tree0503dff3513577498d59171c5cb257c7a8fe2f29 /spec/algebra
parent4bc43c7152a30752166964249f81302c21187e66 (diff)
downloadrails-c9fa1b47f83f6d07b91fe10922b0e8d042933c1f.tar.gz
rails-c9fa1b47f83f6d07b91fe10922b0e8d042933c1f.tar.bz2
rails-c9fa1b47f83f6d07b91fe10922b0e8d042933c1f.zip
PERF: *args is slow. also removing a non-feature
Diffstat (limited to 'spec/algebra')
-rw-r--r--spec/algebra/unit/relations/relation_spec.rb4
1 files changed, 2 insertions, 2 deletions
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