Sha256: 47439e8d6d6fcd62933552da6de726617b72dea2ce48a89e9e3cb566f832ff33
Contents?: true
Size: 330 Bytes
Versions: 9
Compression:
Stored size: 330 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 FFakerTW::ModuleUtils result = obj.k %w[1 2 3] assert result.frozen? result.each { |e| assert e.frozen? } end end
Version data entries
9 entries across 9 versions & 1 rubygems