Sha256: 17fd112a2f0b970d5935d44c25cf80097b9d31ea68c35b802dd7862f01f445ab

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 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(FFakerTW::HealthcareRU, :doctor_specialization)

  def setup
    @tester = FFakerTW::HealthcareRU
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffakerTW-0.1.0 test/test_healthcare_ru.rb