Sha256: 45534d56df2602d5c9f4cc4f7e453011ee3e04b7a9182e8b19e6d48040607afa

Contents?: true

Size: 364 Bytes

Versions: 7

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

require 'helper'

class TestCompanySE < Test::Unit::TestCase
  include DeterministicHelper

  assert_methods_are_deterministic(
    FFaker::CompanySE,
    :name, :suffix
  )

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ffaker-2.18.0 test/test_company_se.rb
ffaker-2.17.0 test/test_company_se.rb
ffaker-2.16.0 test/test_company_se.rb
ffaker-2.15.0 test/test_company_se.rb
ffaker-2.14.0 test/test_company_se.rb
ffaker-2.13.0 test/test_company_se.rb
ffaker-2.12.0 test/test_company_se.rb