string_case_pl 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/string_case_pl.rb +1 -2
- data/string_case_pl.gemspec +1 -1
- data/test/test_character_case_change.rb +6 -0
- metadata +2 -2
data/lib/string_case_pl.rb
CHANGED
data/string_case_pl.gemspec
CHANGED
@@ -51,4 +51,10 @@ class TestCharacterCaseChange < Test::Unit::TestCase
|
|
51
51
|
assert_equal(@iso_capitalized, @iso_lower.capitalize)
|
52
52
|
end
|
53
53
|
|
54
|
+
def test_capitalize!
|
55
|
+
d = @utf_lower.dup
|
56
|
+
assert_equal(d.capitalize!, @utf_capitalized)
|
57
|
+
assert_equal(d.capitalize!, nil)
|
58
|
+
end
|
59
|
+
|
54
60
|
end
|