Skip to content

Commit

Permalink
Changed test names to match proper context
Browse files Browse the repository at this point in the history
  • Loading branch information
morgoth committed Sep 28, 2012
1 parent 9e34127 commit b4006db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activesupport/test/test_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit b4006db

Please sign in to comment.