Sha256: 42cd0a77d449f031f4984041a132d9275396985820da936d0bf5e935e00ea272
Contents?: true
Size: 328 Bytes
Versions: 3
Compression:
Stored size: 328 Bytes
Contents
# frozen_string_literal: true require_relative 'helper' class TestModuleUtils < Test::Unit::TestCase def test_provides_a_k_method_for_generating_constant_arrays obj = Object.new obj.extend FFaker::ModuleUtils result = obj.k %w[1 2 3] assert result.frozen? result.each { |e| assert e.frozen? } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.21.0 | test/test_module_utils.rb |
ffaker-2.20.0 | test/test_module_utils.rb |
ffaker-2.19.0 | test/test_module_utils.rb |