Sha256: aad15c8a9757b8298b30b96b74290221ff93a1bb4fccc87f8477aaf534ad2a6b
Contents?: true
Size: 432 Bytes
Versions: 3
Compression:
Stored size: 432 Bytes
Contents
# encoding: UTF-8 require 'helper' class TestFakerFood < Test::Unit::TestCase def test_vegetable assert_match /\A[-\/ íó'a-z0-9]+\z/i, FFaker::Food.vegetable end def test_fruit assert_match /\A[ a-z0-9]+\z/i, FFaker::Food.fruit end def test_meat assert_match /\A[, a-z0-9]+\z/i, FFaker::Food.meat end def test_herb_or_spice assert_match /\A[-, a-z0-9]+\z/i, FFaker::Food.herb_or_spice end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.2.0 | test/test_food.rb |
ffaker-2.1.0 | test/test_food.rb |
ffaker-2.0.0 | test/test_food.rb |