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