Sha256: 14d3bcebc28ae80d273aff5646fed237b0fd7fc8723b3954ac9db4ee2a57a961
Contents?: true
Size: 747 Bytes
Versions: 8
Compression:
Stored size: 747 Bytes
Contents
# encoding: utf-8 require 'helper' class TestLoremFR < Test::Unit::TestCase def test_paragraph assert_match /[ a-z]+/, Faker::LoremFR.paragraph end def test_sentence assert_match /[ a-z]+/, Faker::LoremFR.sentence end def test_phrase assert_match /[ a-z]+/, Faker::LoremFR.phrase end def test_paragraphsLoremFR assert_match /[ a-z]+/, Faker::LoremFR.paragraphs.join(" ") end def test_sentences assert_match /[ a-z]+/, Faker::LoremFR.sentences.join(" ") end def test_phrases assert_match /[ a-z]+/, Faker::LoremFR.phrases.join(" ") end def test_words assert_match /[ a-z]+/, Faker::LoremFR.words.join(" ") end def test_word assert_match /[a-z]+/, Faker::LoremFR.word end end
Version data entries
8 entries across 8 versions & 2 rubygems