Sha256: 2b3928c3d5457905497cc7389913318d0aab135abc1c78f590cdcda6d6186eac
Contents?: true
Size: 637 Bytes
Versions: 14
Compression:
Stored size: 637 Bytes
Contents
# encoding: utf-8 require 'helper' class TestDizzleIpsum < Test::Unit::TestCase def test_paragraph assert_match /1\+|[ a-z]+/i, Faker::DizzleIpsum.paragraph end def test_sentence assert_match /1\+|[ a-z]+/i, Faker::DizzleIpsum.sentence end def test_paragraphs assert_match /1\+|[ a-z]+/i, Faker::DizzleIpsum.paragraphs.join(" ") end def test_sentences assert_match /1\+|[ a-z]+/i, Faker::DizzleIpsum.sentences.join(" ") end def test_words assert_match /1\+|[ a-z]+/i, Faker::DizzleIpsum.words.join(" ") end def test_word assert_match /1\+|[a-z]+/i, Faker::DizzleIpsum.word end end
Version data entries
14 entries across 14 versions & 3 rubygems