Sha256: 375359760363b117e10327e8d6324e4a835cc1e7169de6a19cb4f9ed725aa283
Contents?: true
Size: 611 Bytes
Versions: 5
Compression:
Stored size: 611 Bytes
Contents
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
5 entries across 5 versions & 1 rubygems