Sha256: ca047266d666b80e7112c58046e070a63140806c385fbe9957f585c4154c22e5

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

require 'helper'

class TestCompany < Test::Unit::TestCase
  def test_bs
    assert_match /[ a-z]+/, Faker::Company.bs
  end

  def test_catch_phrase
    assert_match /[ a-z]+/, 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

1 entries across 1 versions & 1 rubygems

Version Path
ffaker-0.3.4 test/test_company.rb