aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-04-11 14:40:33 -0700
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-04-11 14:40:33 -0700
commit89eff9708d9519f8a2724427d9ed9a3bcbc6d125 (patch)
treed3351eddbdd09c7eaa37ec878f54297285f86246 /spec/spec_helper.rb
parent8887dcce12cd80f673e28537800e7657be9969d8 (diff)
downloadrails-89eff9708d9519f8a2724427d9ed9a3bcbc6d125.tar.gz
rails-89eff9708d9519f8a2724427d9ed9a3bcbc6d125.tar.bz2
rails-89eff9708d9519f8a2724427d9ed9a3bcbc6d125.zip
removed binding for attributes and predicates
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 01a703a7d4..4b61ae8ca8 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -19,7 +19,7 @@ ActiveRecord::Base.establish_connection 'test'
class Hash
def shift
- returning to_a.sort { |(key1, value1), (key2, value2)| key1.hash <=> key2.hash }.shift do |key, value|
+ returning to_a.sort { |(key1, value1), (key2, value2)| key1.hash <=> key2.hash }.shift do |key, _|
delete(key)
end
end