Sha256: 8b5b39de63b913ec3289fae46c6e306d9f68fd2bb1732351b63eeee194e38430
Contents?: true
Size: 373 Bytes
Versions: 7
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true require 'helper' class TestAirline < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFaker::Airline, :name, :flight_number) def test_name assert_match(/\A.+\z/, FFaker::Airline.name) end def test_flight_number assert_match(/\w{2,3} \d{1,4}\z/, FFaker::Airline.flight_number) end end
Version data entries
7 entries across 7 versions & 1 rubygems