Sha256: 19932d481c85d92488e2ae2d7ffcd5890bae62306a5258ccb49936acc4a018a3

Contents?: true

Size: 344 Bytes

Versions: 8

Compression:

Stored size: 344 Bytes

Contents

require_relative '../test_helper'

module PagarMe
  class ErrorTest < PagarMeTestCase
    should 'be able to handle single error messages' do
      assert_transaction_errors card_number: nil
    end

    should 'be able to handle multiple error messages' do
      assert_transaction_errors amount: 10, card_expiration_year: 12
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pagarme-2.4.0 test/pagarme/error_test.rb
pagarme-2.3.0 test/pagarme/error_test.rb
pagarme-2.2.3 test/pagarme/error_test.rb
pagarme-2.2.2 test/pagarme/error_test.rb
pagarme-2.2.1 test/pagarme/error_test.rb
pagarme-2.2.0 test/pagarme/error_test.rb
pagarme-2.1.4 test/pagarme/error_test.rb
pagarme-2.1.3 test/pagarme/error_test.rb