Sha256: af5c563e842b677c6698cb2092e10807fdfc6abb3f1eeffdb632a13b53561739
Contents?: true
Size: 527 Bytes
Versions: 10
Compression:
Stored size: 527 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class StringExtensionsTest < Test::Unit::TestCase def test_word_hash hash = {:good=>1, :"!"=>1, :hope=>1, :"'"=>1, :"."=>1, :love=>1, :word=>1, :them=>1, :test=>1} assert_equal hash, "here are some good words of test's. I hope you love them!".word_hash end def test_clean_word_hash hash = {:good=>1, :word=>1, :hope=>1, :love=>1, :them=>1, :test=>1} assert_equal hash, "here are some good words of test's. I hope you love them!".clean_word_hash end end
Version data entries
10 entries across 10 versions & 4 rubygems