Sha256: b8edfaa8568b57761d0d8e9109bb69ee869b98000d0dd55b30af8654855a3a57
Contents?: true
Size: 406 Bytes
Versions: 6
Compression:
Stored size: 406 Bytes
Contents
# encoding: utf-8 require 'helper' class TestFakerNameKR < Test::Unit::TestCase def setup @tester = Faker::NameKR end def test_name assert_match(/\A[가-힣]{2,}\z/, @tester.name) end def test_last_first assert_match(/\A[가-힣]{2,}\z/, @tester.last_first) end def test_name_with_space assert_match(/\A[가-힣]{1,2} [가-힣]{2,}\z/, @tester.name_with_space) end end
Version data entries
6 entries across 6 versions & 2 rubygems