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