Permalink
Browse files

Merge pull request #7784 from morgoth/proper_test_names_for_assertions

Changed test names to match proper context
  • Loading branch information...
rafaelfranca committed Sep 29, 2012
2 parents 4fd0f90 + b4006db commit f655108c260ccd334e494b7d6da8822b31cc2156
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 f655108

Please sign in to comment.