Sha256: deb1c7cf80de77d80d102ac1f7d003d4dfa553caf4bd3e0958fd61f6a9e2800e
Contents?: true
Size: 310 Bytes
Versions: 3
Compression:
Stored size: 310 Bytes
Contents
# encoding: utf-8 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 ["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.2.0 | test/test_module_utils.rb |
ffaker-2.1.0 | test/test_module_utils.rb |
ffaker-2.0.0 | test/test_module_utils.rb |