Sha256: 70e05e1504445099990722842d5bd1404cc1134feed9639698cfc7de121ce31c
Contents?: true
Size: 478 Bytes
Versions: 10
Compression:
Stored size: 478 Bytes
Contents
require 'helper' class TestLorem < Test::Unit::TestCase def test_paragraph assert_match /[ a-z]+/, Faker::Lorem.paragraph end def test_sentence assert_match /[ a-z]+/, Faker::Lorem.sentence end def test_paragraphs assert_match /[ a-z]+/, Faker::Lorem.paragraphs.join(" ") end def test_sentences assert_match /[ a-z]+/, Faker::Lorem.sentences.join(" ") end def test_words assert_match /[ a-z]+/, Faker::Lorem.words.join(" ") end end
Version data entries
10 entries across 10 versions & 1 rubygems