diff options
author | Sergey Nartimov <just.lest@gmail.com> | 2011-12-20 22:18:23 +0300 |
---|---|---|
committer | lest <just.lest@gmail.com> | 2011-12-22 10:28:36 +0300 |
commit | 4f6af26a886630c97865a2e5023a9560692e6aa4 (patch) | |
tree | abacaeda2bf35d7ddc8700508b3ed79848370ee5 /activesupport/test | |
parent | 667d7aa61d0c50be23ab24a4c16b8c9c9c0daff8 (diff) | |
download | rails-4f6af26a886630c97865a2e5023a9560692e6aa4.tar.gz rails-4f6af26a886630c97865a2e5023a9560692e6aa4.tar.bz2 rails-4f6af26a886630c97865a2e5023a9560692e6aa4.zip |
remove AS whiny nil extension and deprecate config.whiny_nils
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/whiny_nil_test.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/activesupport/test/whiny_nil_test.rb b/activesupport/test/whiny_nil_test.rb deleted file mode 100644 index 8c1f1b2677..0000000000 --- a/activesupport/test/whiny_nil_test.rb +++ /dev/null @@ -1,11 +0,0 @@ -require 'abstract_unit' -require 'active_support/whiny_nil' - -class WhinyNilTest < Test::Unit::TestCase - def test_id - nil.id - rescue RuntimeError => nme - assert_no_match(/nil:NilClass/, nme.message) - assert_match(Regexp.new(nil.object_id.to_s), nme.message) - end -end |