Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.289 kb
require 'helper'
class TestModuleUtils < Test::Unit::TestCase
it "provides a k method for generating constant arrays" do
obj = Object.new
obj.extend Faker::ModuleUtils
result = obj.k ["1","2","3"]
assert result.frozen?
result.each {|e| assert e.frozen? }
end
end
Jump to Line
Something went wrong with that request. Please try again.