Sha256: c5813627c733f8459789c6b2dcf28861fe85de8a70568eefe365aaac471bf36f

Contents?: true

Size: 331 Bytes

Versions: 9

Compression:

Stored size: 331 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(FFakerTW::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}/,
                 FFakerTW::Guid.guid)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ffakerTW-1.8.0 test/test_guid.rb
ffakerTW-1.7.0 test/test_guid.rb
ffakerTW-1.6.0 test/test_guid.rb
ffakerTW-1.5.0 test/test_guid.rb
ffakerTW-1.4.0 test/test_guid.rb
ffakerTW-1.3.0 test/test_guid.rb
ffakerTW-1.2.0 test/test_guid.rb
ffakerTW-1.1.0 test/test_guid.rb
ffakerTW-0.1.0 test/test_guid.rb