Sha256: b31db9c3f99dcb7cee749fe8c51411e561825ca6195f84f2092ee51960019cdf
Contents?: true
Size: 945 Bytes
Versions: 6
Compression:
Stored size: 945 Bytes
Contents
# encoding: utf-8 require 'helper' class TestLoremFR < Test::Unit::TestCase def test_paragraph assert_match /\A[ -.àâéèêîôùûa-z]+\z/i, Faker::LoremFR.paragraph end def test_sentence assert_match /\A[ -.àâéèêîôùûa-z]+\z/i, Faker::LoremFR.sentence end def test_phrase assert_match /\A[ -.àâéèêîôùûa-z]+\z/i, Faker::LoremFR.phrase end def test_paragraphsLoremFR assert_match /\A[ -.àâéèêîôùûa-z]+\z/i, Faker::LoremFR.paragraphs.join(" ") end def test_sentences assert_match /\A[ -.àâéèêîôùûa-z]+\z/i, Faker::LoremFR.sentences.join(" ") end def test_phrases assert_match /\A[ -.àâéèêîôùûa-z]+\z/i, Faker::LoremFR.phrases.join(" ") end def test_words assert_match /\A[ -àâéèêîôùûa-z]+\z/i, Faker::LoremFR.words.join(" ") end def test_word assert_match /\A[-àâéèêîôùûa-z]+\z/i, Faker::LoremFR.word end end
Version data entries
6 entries across 6 versions & 2 rubygems