aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep <sandeep.ravichandran@sourcebits.com>2012-03-16 17:14:54 +0530
committerSandeep <sandeep.ravichandran@sourcebits.com>2012-03-16 17:14:54 +0530
commit15404fd3da335086cf1ceb195e524455a633265f (patch)
treecf0bf332460702307177b8d353ea203fb85965c5
parentfc6b961b09b2d057f5820ef2152f6cbf8acbfeea (diff)
downloadrails-15404fd3da335086cf1ceb195e524455a633265f.tar.gz
rails-15404fd3da335086cf1ceb195e524455a633265f.tar.bz2
rails-15404fd3da335086cf1ceb195e524455a633265f.zip
fixed - warning: assigned but unused variable - checker
-rw-r--r--activesupport/test/file_update_checker_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/file_update_checker_test.rb b/activesupport/test/file_update_checker_test.rb
index c884068c59..988dfd71eb 100644
--- a/activesupport/test/file_update_checker_test.rb
+++ b/activesupport/test/file_update_checker_test.rb
@@ -86,7 +86,7 @@ class FileUpdateCheckerWithEnumerableTest < ActiveSupport::TestCase
FileUtils.touch(FILES.map { |file_name| "tmp_watcher/valid,yetstrange,path,/#{file_name}" } )
test = Thread.new do
- checker = ActiveSupport::FileUpdateChecker.new([],"tmp_watcher/valid,yetstrange,path," => :txt){ i += 1 }
+ ActiveSupport::FileUpdateChecker.new([],"tmp_watcher/valid,yetstrange,path," => :txt){ i += 1 }
Thread.exit
end
test.priority = -1