lib/object_present.rb in markdown_exec-1.3.3.5 vs lib/object_present.rb in markdown_exec-1.3.6

- old
+ new

@@ -52,29 +52,29 @@ if $PROGRAM_NAME == __FILE__ require 'minitest/autorun' class TestStringMethods < Minitest::Test def test_blank - assert "".blank? - assert " ".blank? + assert ''.blank? + assert ' '.blank? assert "\t\n\r".blank? - refute "foo".blank? + refute 'foo'.blank? end def test_present - assert "foo".present? - refute "".present? + assert 'foo'.present? + refute ''.present? end end class TestObjectMethods < Minitest::Test def test_present - assert "foo".present? - refute "".present? + assert 'foo'.present? + refute ''.present? assert Object.new.present? assert 123.present? assert true.present? assert false.present? refute nil.present? end end -end \ No newline at end of file +end