Sha256: a4b5e8641874f8b794668493a22707f2f5934f0bcaa42b8f205a9d2d30a39d4b
Contents?: true
Size: 299 Bytes
Versions: 19
Compression:
Stored size: 299 Bytes
Contents
require 'helper' class TestFaker < Test::Unit::TestCase def test_numerify assert Faker.numerify('###').match(/\d{3}/) end def test_letterify assert Faker.letterify('???').match(/[a-z]{3}/) end def test_bothify assert Faker.bothify('???###').match(/[a-z]{3}\d{3}/) end end
Version data entries
19 entries across 19 versions & 1 rubygems