Sha256: 20da68357188afd7d18bdf68149e6ac1e88a4a8d4bebe45128df5f341a14ca46

Contents?: true

Size: 434 Bytes

Versions: 2

Compression:

Stored size: 434 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

2 entries across 2 versions & 1 rubygems

Version Path
ffaker-2.18.0 test/test_healthcare_ru.rb
ffaker-2.17.0 test/test_healthcare_ru.rb