Sha256: 324d06cc3923ad85228150c5315761e27f8a3752738f4105fc7320a932d2a9f8
Contents?: true
Size: 527 Bytes
Versions: 1
Compression:
Stored size: 527 Bytes
Contents
# frozen_string_literal: true require_relative 'helper' class TestFakerNameTW < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic( FFakerTW::NameTW, :last_name, :first_name, :name ) def setup @tester = FFakerTW::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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffakerTW-0.1.0 | test/test_name_tw.rb |