Sha256: ad149497d8a6f5f8ae65779a16194606e667ecd9c9be6dc4559035b60b4b74d3
Contents?: true
Size: 642 Bytes
Versions: 5
Compression:
Stored size: 642 Bytes
Contents
# frozen_string_literal: true require_relative 'helper' class TestLocale < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFaker::Locale, :code, :language) def test_code assert_match(/./, FFaker::Locale.code) end def test_language assert_match(/./, FFaker::Locale.language) end def test_language_with_args assert_match('French', FFaker::Locale.language('FR')) assert_deterministic { FFaker::Locale.language('FR') } end def test_code_with_args assert_match('FR', FFaker::Locale.code('French')) assert_deterministic { FFaker::Locale.code('French') } end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.23.0 | test/test_locale.rb |
ffaker-2.22.0 | test/test_locale.rb |
ffaker-2.21.0 | test/test_locale.rb |
ffaker-2.20.0 | test/test_locale.rb |
ffaker-2.19.0 | test/test_locale.rb |