Sha256: 71cce7f87c7459ac7ddc1dc9f4f61e00e6590b76a1a13a622ea814d91d2847fc
Contents?: true
Size: 823 Bytes
Versions: 7
Compression:
Stored size: 823 Bytes
Contents
# frozen_string_literal: true require 'helper' class TestDizzleIpsum < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic( FFaker::DizzleIpsum, :paragraph, :sentence, :paragraphs, :sentences, :words, :word ) def test_paragraph assert_match(/1\+|[ a-z]+/i, FFaker::DizzleIpsum.paragraph) end def test_sentence assert_match(/1\+|[ a-z]+/i, FFaker::DizzleIpsum.sentence) end def test_paragraphs assert_match(/1\+|[ a-z]+/i, FFaker::DizzleIpsum.paragraphs.join(' ')) end def test_sentences assert_match(/1\+|[ a-z]+/i, FFaker::DizzleIpsum.sentences.join(' ')) end def test_words assert_match(/1\+|[ a-z]+/i, FFaker::DizzleIpsum.words.join(' ')) end def test_word assert_match(/1\+|[a-z]+/i, FFaker::DizzleIpsum.word) end end
Version data entries
7 entries across 7 versions & 1 rubygems