Sha256: fe3c542d2bd07422e2ac22bb8be0c67c2ae19f0066643847c7504bf3f4953fc8

Contents?: true

Size: 443 Bytes

Versions: 3

Compression:

Stored size: 443 Bytes

Contents

# frozen_string_literal: true

require_relative '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

3 entries across 3 versions & 1 rubygems

Version Path
ffaker-2.21.0 test/test_healthcare_ru.rb
ffaker-2.20.0 test/test_healthcare_ru.rb
ffaker-2.19.0 test/test_healthcare_ru.rb