Sha256: 4ed4099481fe6757329bddc4ff08f60e729a703ef9a03fb39083c5e50c693978
Contents?: true
Size: 567 Bytes
Versions: 10
Compression:
Stored size: 567 Bytes
Contents
# encoding: utf-8 require 'helper' class TestCompany < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic( FFaker::Company, :bs, :catch_phrase, :name, :suffix ) def setup @tester = FFaker::Company end def test_bs assert_match(/\A[ \w'\/-]+\z/, @tester.bs) end def test_catch_phrase assert_match(/\A[ \w'\/-]+\z/, @tester.catch_phrase) end def test_name assert_match(/\A[ \w,'-]+\z/, @tester.name) end def test_suffix assert_include @tester::SUFFIXES, @tester.suffix end end
Version data entries
10 entries across 10 versions & 1 rubygems