Permalink
Browse files

Changed test names to match proper context

  • Loading branch information...
1 parent 9e34127 commit b4006db471a2f85f6bedeb3e6f9cc628214af54d @morgoth morgoth committed Sep 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit b4006db

Please sign in to comment.