Sha256: bcf460eb7eb39d16c16b29c45b3fbf4db563a1b3c4eeedc82bec19f684baa1a8
Contents?: true
Size: 494 Bytes
Versions: 9
Compression:
Stored size: 494 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class TenderTransactionTest < Test::Unit::TestCase def setup super fake("tender_transactions", method: :get, body: load_fixture('tender_transactions')) end context "Tender Transaction" do should 'return a list of transactions' do tender_transactions = ShopifyAPI::TenderTransaction.all assert_equal(3, tender_transactions.length) assert_equal([1, 2, 3], tender_transactions.map(&:id)) end end end
Version data entries
9 entries across 9 versions & 2 rubygems