Sha256: 9b1ed19f8b87f8b9bbdc715c276d822dce512256e3d4d0308bc9dedf4ff08e2d
Contents?: true
Size: 598 Bytes
Versions: 41
Compression:
Stored size: 598 Bytes
Contents
require 'test_helper' # This tests our Nil extension class NilTest < Minitest::Test test 'to_date' do assert_nil nil.to_date end test 'titleize' do assert_nil nil.titleize end test 'surnameize' do assert_nil nil.surnameize end test 'postcodeize' do assert_nil nil.postcodeize end test 'upcase' do assert_nil nil.upcase end test 'clean' do assert_nil nil.clean(:tnmcategory) end test 'squash' do assert_nil nil.squash end test 'gsub' do assert_equal '', nil.gsub(/.*/) end test 'strip' do assert_nil nil.strip end end
Version data entries
41 entries across 41 versions & 1 rubygems
Version | Path |
---|---|
ndr_support-3.1.1 | test/nil_test.rb |