Sha256: 3265ebbccd5d62fd37f17934511763540790c50e3630ba472e1bd83b02c1e4be
Contents?: true
Size: 728 Bytes
Versions: 2
Compression:
Stored size: 728 Bytes
Contents
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ffaker-1.21.0 | test/test_lorem_fr.rb |
ffaker-1.20.0 | test/test_lorem_fr.rb |