Sha256: 4954f8057754b8dce0e8c83a997c3b4dbe0fd1d620b6696c61c595f72dd25330

Contents?: true

Size: 327 Bytes

Versions: 5

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

class TestGuid < Test::Unit::TestCase
  include DeterministicHelper

  assert_methods_are_deterministic(FFaker::Guid, :guid)

  def test_guid
    assert_match(/[A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{12}/,
                 FFaker::Guid.guid)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ffaker-2.23.0 test/test_guid.rb
ffaker-2.22.0 test/test_guid.rb
ffaker-2.21.0 test/test_guid.rb
ffaker-2.20.0 test/test_guid.rb
ffaker-2.19.0 test/test_guid.rb