Sha256: a9e337781c3ed783ac6df1022cce8bb9cb74f0b2abff48fe4a5014e639021b00
Contents?: true
Size: 415 Bytes
Versions: 4
Compression:
Stored size: 415 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) module Larva class UtilsTest < Minitest::Test def test_blank? assert "".blank? assert nil.blank? refute "foobar".blank? refute 0.blank? end def test_camelize assert_equal "Foobar", "foobar".camelize assert_equal "FooBar", "foo_bar".camelize assert_equal "Foo::Bar", "foo/bar".camelize end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
larva-1.3.0 | test/utils_test.rb |
larva-1.2.0 | test/utils_test.rb |
larva-1.1.3 | test/utils_test.rb |
larva-1.1.2 | test/utils_test.rb |