Sha256: a3629eb18c1d3a0297a910eb737bfca4baf780be9c7f03287bdf155650afacce
Contents?: true
Size: 579 Bytes
Versions: 14
Compression:
Stored size: 579 Bytes
Contents
# encoding: utf-8 require 'helper' class TestFakerEducation < Test::Unit::TestCase def setup @tester = Faker::Education end def test_degree_short assert @tester.degree_short.match(/.+ in .+/) end def test_degree assert @tester.degree.match(/.+ in .+/) end def test_major assert @tester.major.match(/.+ .+/) end def test_school_name assert @tester.school_name.match(/.+/) end def test_school_generic_name assert @tester.school_name.match(/.+/) end def test_school assert @tester.school.match(/.+ .+( .+)?/) end end
Version data entries
14 entries across 14 versions & 3 rubygems