Sha256: 4d3fe31a914e7724b02de80d727291fd1ccc2f8df11d6f2b0f124c05ec638337

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

# encoding: utf-8

require 'helper'

class TestCompanyIT < Test::Unit::TestCase

  def test_name
    assert_match(/[ a-z]+/, FFaker::CompanyIT.name)
  end

  def test_suffix
    assert_match(/[ a-z]+/i, FFaker::CompanyIT.suffix)
  end

    def test_prefix
    assert_match(/[ a-z]+/i, FFaker::CompanyIT.prefix)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ffaker-2.2.0 test/test_company_it.rb
ffaker-2.1.0 test/test_company_it.rb
ffaker-2.0.0 test/test_company_it.rb