/vendor/gems/facets-2.4.5/test/core/string/test_titlecase.rb
Ruby | 13 lines | 9 code | 4 blank | 0 comment | 0 complexity | a62701e610eb4474856387151ab9214a MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0, IPL-1.0, AGPL-1.0, LGPL-3.0
- require 'facets/string/titlecase.rb'
- require 'test/unit'
- class StringTitleCaseTest < Test::Unit::TestCase
- def test_titlecase
- r = "try this out".titlecase
- x = "Try This Out"
- assert_equal(x,r)
- end
- end