Sha256: db0a3af4192fc773cc8a68fb24b9073f48b798537c718910770356712256e565
Contents?: true
Size: 656 Bytes
Versions: 9
Compression:
Stored size: 656 Bytes
Contents
# frozen_string_literal: true require_relative 'helper' class TestLocale < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFakerTW::Locale, :code, :language) def test_code assert_match(/./, FFakerTW::Locale.code) end def test_language assert_match(/./, FFakerTW::Locale.language) end def test_language_with_args assert_match('French', FFakerTW::Locale.language('FR')) assert_deterministic { FFakerTW::Locale.language('FR') } end def test_code_with_args assert_match('FR', FFakerTW::Locale.code('French')) assert_deterministic { FFakerTW::Locale.code('French') } end end
Version data entries
9 entries across 9 versions & 1 rubygems