Sha256: 22da31951f7f86552fd2a7c398ec40e28be7c2d58f720358ab8e23f12c3f8ad3
Contents?: true
Size: 319 Bytes
Versions: 7
Compression:
Stored size: 319 Bytes
Contents
# frozen_string_literal: true require '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
7 entries across 7 versions & 1 rubygems