Sha256: 2bc8479e5f3ad254cd59d773b493b3890aa36034b9c04aed6878071b2c1cdaf0
Contents?: true
Size: 436 Bytes
Versions: 9
Compression:
Stored size: 436 Bytes
Contents
# frozen_string_literal: true require_relative 'helper' class TestFreedomIpsum < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic( FFakerTW::FreedomIpsum, :word, :words ) TEST_REGEX = /[a-z0-9 -]+/i.freeze def test_words assert_match(TEST_REGEX, FFakerTW::FreedomIpsum.words.join(' ')) end def test_word assert_match(TEST_REGEX, FFakerTW::FreedomIpsum.word) end end
Version data entries
9 entries across 9 versions & 1 rubygems