Sha256: 83256ab71863f5d42262b73e4a7f2d98d989c691df51d72f14dcbd2c95162c83
Contents?: true
Size: 281 Bytes
Versions: 2
Compression:
Stored size: 281 Bytes
Contents
# encoding: utf-8 require 'helper' class TestMovie < Test::Unit::TestCase def setup @tester = FFaker::Movie end def test_title assert_match /[ a-z]+/, FFaker::Movie.title end def test_rating assert FFaker::Movie::RATINGS.include? @tester.rating end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.2.0 | test/test_movie.rb |
ffaker-2.1.0 | test/test_movie.rb |