diff options
author | Wojciech Wnętrzak <w.wnetrzak@gmail.com> | 2012-09-28 22:58:27 +0200 |
---|---|---|
committer | Wojciech Wnętrzak <w.wnetrzak@gmail.com> | 2012-09-28 22:58:27 +0200 |
commit | b4006db471a2f85f6bedeb3e6f9cc628214af54d (patch) | |
tree | ebf77917fe15baf7448b519790ebd7537f37c674 | |
parent | 9e34127dad0b84b271c5cf8ccef03c86fb962740 (diff) | |
download | rails-b4006db471a2f85f6bedeb3e6f9cc628214af54d.tar.gz rails-b4006db471a2f85f6bedeb3e6f9cc628214af54d.tar.bz2 rails-b4006db471a2f85f6bedeb3e6f9cc628214af54d.zip |
Changed test names to match proper context
-rw-r--r-- | activesupport/test/test_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/test_test.rb b/activesupport/test/test_test.rb index d19aab1438..9516556844 100644 --- a/activesupport/test/test_test.rb +++ b/activesupport/test/test_test.rb @@ -100,11 +100,11 @@ class AssertPresentTest < ActiveSupport::TestCase BLANK = [ EmptyTrue.new, nil, false, '', ' ', " \n\t \r ", [], {} ] NOT_BLANK = [ EmptyFalse.new, Object.new, true, 0, 1, 'x', [nil], { nil => 0 } ] - def test_assert_blank_true + def test_assert_present_true NOT_BLANK.each { |v| assert_present v } end - def test_assert_blank_false + def test_assert_present_false BLANK.each { |v| begin assert_present v |