Sha256: 450a2ee616421b4732d4e14f5c41446cdfd9cf5c7837cda417904c764a5f4f65

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

require_relative '../test_helper'

module PagarMe
  class PagarMeTest < Test::Unit::TestCase
    should 'validate fingerprint correctly' do
      finderprint = Digest::SHA1.hexdigest "123##{PagarMe.api_key}"
      assert PagarMe.validate_fingerprint(123, finderprint)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pagarme-2.1.0 test/pagarme/pagarme_test.rb