Sha256: 121f0da834b3d1229a01e4e75e8a3e67975cddca9b3dcfbbb70e1e2f45a8e8ec
Contents?: true
Size: 477 Bytes
Versions: 4
Compression:
Stored size: 477 Bytes
Contents
require "test_helper" describe "Generate" do before do @urban = UrbanPass::Generate.new @word = @urban.random_word end it "opens a new html document" do @word.wont_be_nil end it "removes all spaces from the word" do urban = @urban.remove_spaces(@word) urban.wont_include " " end it "returns length of word" do word = @urban.remove_spaces(@word) word_size = @urban.phrase_length(word) word_size.must_equal word.length end end
Version data entries
4 entries across 4 versions & 1 rubygems