Sha256: 4b2f3343b7737f7f57d4d116f2ed618b07035d02c82f73abebb6bebd7bc2d11b
Contents?: true
Size: 491 Bytes
Versions: 19
Compression:
Stored size: 491 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
19 entries across 19 versions & 1 rubygems