Sha256: a4ec86b8ebcb3d30ed3fa031164f7c305b9fa708511a044590b730b837d4384a
Contents?: true
Size: 357 Bytes
Versions: 5
Compression:
Stored size: 357 Bytes
Contents
# encoding: utf-8 require 'helper' class TestFakerNameCN < Test::Unit::TestCase def setup @tester = Faker::NameCN end def test_name assert_match(/\A.{2,}\z/, @tester.name) end def test_first_name assert_match(/\A.{1,2}\z/, @tester.first_name) end def test_last_name assert_match(/\A.{1,5}\z/, @tester.last_name) end end
Version data entries
5 entries across 5 versions & 2 rubygems