Sha256: 1bf449720688fbe9d43488ebc7b8c5d6d5def8fe930c5f1451509510ec81ed10

Contents?: true

Size: 493 Bytes

Versions: 3

Compression:

Stored size: 493 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class Gecko::PaymentMethodTest < Minitest::Test
  include VCRHelper
  include SharedRecordExamples

  let(:plural_name)   { "payment_methods" }
  let(:record_class)  { Gecko::Record::PaymentMethod }

  def setup
    @json   = load_vcr_hash("payment_methods", "payment_methods").first
    @record = record_class.new(client, @json)
  end

  def test_initializes_record
    assert_instance_of(Gecko::Record::PaymentMethod, @record)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gecko-ruby-0.12.3 test/record/payment_method_test.rb
gecko-ruby-0.12.2 test/record/payment_method_test.rb
gecko-ruby-0.12.1 test/record/payment_method_test.rb