Sha256: 67031a5abb1b11075c4da91259ab51e9319195d18b7e9ccf79945b5898514d80
Contents?: true
Size: 410 Bytes
Versions: 9
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true require_relative 'helper' class TestMovie < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFakerTW::Movie, :title, :rating) def setup @tester = FFakerTW::Movie end def test_title assert_match(/[ a-z]+/, FFakerTW::Movie.title) end def test_rating assert FFakerTW::Movie::RATINGS.include? @tester.rating end end
Version data entries
9 entries across 9 versions & 1 rubygems