Sha256: 3f904ddc6ef888abbe9185d973ed937ba5f7f7e0e80551d85e785601287cad44
Contents?: true
Size: 474 Bytes
Versions: 14
Compression:
Stored size: 474 Bytes
Contents
# encoding: utf-8 require 'helper' class TestCompany < Test::Unit::TestCase def test_bs assert_match /[ a-z]+/, Faker::Company.bs assert_match /\s/, Faker::Company.bs end def test_catch_phrase assert_match /[ a-z]+/, Faker::Company.catch_phrase assert_match /\s/, Faker::Company.catch_phrase end def test_name assert_match /[ a-z]+/, Faker::Company.name end def test_suffix assert_match /[ a-z]+/i, Faker::Company.suffix end end
Version data entries
14 entries across 14 versions & 3 rubygems