aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/test
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2011-09-10 00:11:35 +0530
committerArun Agrawal <arunagw@gmail.com>2011-09-10 09:38:57 +0530
commitfb73be84695d700f11673ba92f29dfeef3659a37 (patch)
treec6524de33c4c2702b90d416ccd14bb1317dafe5b /activeresource/test
parent0f04260c514fe0a58adb57f3b8d69f12f18cfe9e (diff)
downloadrails-fb73be84695d700f11673ba92f29dfeef3659a37.tar.gz
rails-fb73be84695d700f11673ba92f29dfeef3659a37.tar.bz2
rails-fb73be84695d700f11673ba92f29dfeef3659a37.zip
Not used variables removed. Warnings removed.
Diffstat (limited to 'activeresource/test')
-rw-r--r--activeresource/test/cases/base/load_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activeresource/test/cases/base/load_test.rb b/activeresource/test/cases/base/load_test.rb
index 0bbd3ab5f5..784e7dd036 100644
--- a/activeresource/test/cases/base/load_test.rb
+++ b/activeresource/test/cases/base/load_test.rb
@@ -66,11 +66,11 @@ class BaseLoadTest < Test::Unit::TestCase
end
def test_load_hash_with_integers_as_keys
- assert_nothing_raised{person = @person.load(@books)}
+ assert_nothing_raised{@person.load(@books)}
end
def test_load_hash_with_dates_as_keys
- assert_nothing_raised{person = @person.load(@books_date)}
+ assert_nothing_raised{@person.load(@books_date)}
end
def test_load_expects_hash