Sha256: 41eef3e90cfef34809af5fac25803c0bd3f56e08dc376baa9d62ea0accb9212f
Contents?: true
Size: 382 Bytes
Versions: 5
Compression:
Stored size: 382 Bytes
Contents
# frozen_string_literal: true require_relative '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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.23.0 | test/test_airline.rb |
ffaker-2.22.0 | test/test_airline.rb |
ffaker-2.21.0 | test/test_airline.rb |
ffaker-2.20.0 | test/test_airline.rb |
ffaker-2.19.0 | test/test_airline.rb |