Sha256: c2f7b3c495ab803c284bde1a96cd0282a65f807f17de7bd3c2ff87ab0229ed24
Contents?: true
Size: 402 Bytes
Versions: 5
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true require_relative 'helper' class TestMovie < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFaker::Movie, :title, :rating) 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.23.0 | test/test_movie.rb |
ffaker-2.22.0 | test/test_movie.rb |
ffaker-2.21.0 | test/test_movie.rb |
ffaker-2.20.0 | test/test_movie.rb |
ffaker-2.19.0 | test/test_movie.rb |