Sha256: 76e5570e1c62ff70a634d9ba83b498b30df138fdfe79dc07035dc4f0116c6166

Contents?: true

Size: 198 Bytes

Versions: 34

Compression:

Stored size: 198 Bytes

Contents

require 'test_helper'

class UtilsTest < Test::Unit::TestCase
  def test_unique_id_should_be_32_chars_and_alphanumeric
    assert_match /^\w{32}$/, ActiveMerchant::Utils.generate_unique_id
  end
end

Version data entries

34 entries across 34 versions & 11 rubygems

Version Path
smulube-activemerchant-1.5.1.3 test/unit/utils_test.rb
smulube-activemerchant-1.5.1.2 test/unit/utils_test.rb
ghazel-activemerchant-1.4.2 test/unit/utils_test.rb
activemerchant-est-1.4.2.6 test/unit/utils_test.rb
activemerchant-1.5.0 test/unit/utils_test.rb
patmaddox-activemerchant-1.4.2.6 test/unit/utils_test.rb
patmaddox-activemerchant-1.4.2.5 test/unit/utils_test.rb
patmaddox-activemerchant-1.4.2.4 test/unit/utils_test.rb
patmaddox-activemerchant-1.4.2.3 test/unit/utils_test.rb
patmaddox-activemerchant-1.4.2.2 test/unit/utils_test.rb
patmaddox-activemerchant-1.4.2.1 test/unit/utils_test.rb
activemerchant-est-1.4.2.5 test/unit/utils_test.rb
patmaddox-activemerchant-1.4.2 test/unit/utils_test.rb
abtain_billing-1.0 test/unit/utils_test.rb