Sha256: fb761a1d91d0f10c608c7a86b916cf867e6c0b1d0ca4927233efe8cb2d0c246e
Contents?: true
Size: 329 Bytes
Versions: 1
Compression:
Stored size: 329 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class StringExtensionsTest < Test::Unit::TestCase def test_word_hash hash = {:some=>1, :good=>1, :hope=>1, :word=>1, :you=>1, :here=>1, :love=>1, :ar=>1, :them=>1, :"."=>1, :"!"=>1} assert_equal hash, "here are some good words. I hope you love them!".word_hash end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
classifier-1.1 | test/string_extensions/word_hash_test.rb |