Sha256: 2efe2d885d3e3c41d466e1ddc0c46a74b520882c0a88f49cdd05d2036bc47399

Contents?: true

Size: 318 Bytes

Versions: 7

Compression:

Stored size: 318 Bytes

Contents

# frozen_string_literal: true

require '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

7 entries across 7 versions & 1 rubygems

Version Path
ffaker-2.18.0 test/test_guid.rb
ffaker-2.17.0 test/test_guid.rb
ffaker-2.16.0 test/test_guid.rb
ffaker-2.15.0 test/test_guid.rb
ffaker-2.14.0 test/test_guid.rb
ffaker-2.13.0 test/test_guid.rb
ffaker-2.12.0 test/test_guid.rb