Sha256: 717d821e2f050b6eca9c6a5b1495186529c218f87063d4ef1fa4fa308c47b652
Contents?: true
Size: 624 Bytes
Versions: 15
Compression:
Stored size: 624 Bytes
Contents
require 'helper' class TestHipsterIpsum < Test::Unit::TestCase def test_paragraph assert_match /1\+|[ a-z]+/i, Faker::HipsterIpsum.paragraph end def test_sentence assert_match /1\+|[ a-z]+/i, Faker::HipsterIpsum.sentence end def test_paragraphs assert_match /1\+|[ a-z]+/i, Faker::HipsterIpsum.paragraphs.join(" ") end def test_sentences assert_match /1\+|[ a-z]+/i, Faker::HipsterIpsum.sentences.join(" ") end def test_words assert_match /1\+|[ a-z]+/i, Faker::HipsterIpsum.words.join(" ") end def test_word assert_match /1\+|[a-z]+/i, Faker::HipsterIpsum.word end end
Version data entries
15 entries across 15 versions & 1 rubygems