Sha256: de71d9e5f7164ec9b33a2428467d9c38a37f75ad58d4a1d491f980886db92a75

Contents?: true

Size: 436 Bytes

Versions: 5

Compression:

Stored size: 436 Bytes

Contents

# frozen_string_literal: true

require 'helper'

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

  SPECIALIZATION_REGEX = /\A[А-Яа-я\ \(\)\-]+\z/.freeze

  assert_methods_are_deterministic(FFaker::HealthcareRU, :doctor_specialization)

  def setup
    @tester = FFaker::HealthcareRU
  end

  def test_doctor_specialization
    assert_match(SPECIALIZATION_REGEX, @tester.doctor_specialization)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ffaker-2.16.0 test/test_healthcare_ru.rb
ffaker-2.15.0 test/test_healthcare_ru.rb
ffaker-2.14.0 test/test_healthcare_ru.rb
ffaker-2.13.0 test/test_healthcare_ru.rb
ffaker-2.12.0 test/test_healthcare_ru.rb