Sha256: 901fd631ef19d8017adf48825b33bcb854cdeb057db8a0197db640edcc895848
Contents?: true
Size: 514 Bytes
Versions: 7
Compression:
Stored size: 514 Bytes
Contents
# frozen_string_literal: true require 'helper' class TestFakerNameTW < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic( FFaker::NameTW, :last_name, :first_name, :name ) def setup @tester = FFaker::NameTW end def test_last_name assert_include @tester::LAST_NAMES, @tester.last_name end def test_first_name assert_include @tester::FIRST_NAMES, @tester.first_name end def test_name assert_match(/\A.{2,}\z/, @tester.name) end end
Version data entries
7 entries across 7 versions & 1 rubygems