aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-06-12 11:18:35 +0530
committerVipul A M <vipulnsward@gmail.com>2013-06-12 11:18:35 +0530
commit48b6860b796d4fa46efd00346d91aaec5fc84cbd (patch)
treeb6d29f73605d6d2e3fddd609d9b372aa5f3a7b72 /activesupport
parentde9e9bbbada37626ae32aadc1ae6055b61452817 (diff)
downloadrails-48b6860b796d4fa46efd00346d91aaec5fc84cbd.tar.gz
rails-48b6860b796d4fa46efd00346d91aaec5fc84cbd.tar.bz2
rails-48b6860b796d4fa46efd00346d91aaec5fc84cbd.zip
Drop extra variable from test
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/load_paths_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/load_paths_test.rb b/activesupport/test/load_paths_test.rb
index 979e25bdf3..ac617a9fd8 100644
--- a/activesupport/test/load_paths_test.rb
+++ b/activesupport/test/load_paths_test.rb
@@ -10,7 +10,7 @@ class LoadPathsTest < ActiveSupport::TestCase
}
load_paths_count[File.expand_path('../../lib', __FILE__)] -= 1
- filtered = load_paths_count.select { |k, v| v > 1 }
- assert filtered.empty?, filtered.inspect
+ load_paths_count.select! { |k, v| v > 1 }
+ assert load_paths_count.empty?, load_paths_count.inspect
end
end