Sha256: 8aa1d85c70abef0ba866d483ef0077f0853e1933c1cc68ba82b2676a0b8719f2
Contents?: true
Size: 466 Bytes
Versions: 29
Compression:
Stored size: 466 Bytes
Contents
require 'test_helper' class TransactionTest < Test::Unit::TestCase def setup fake "orders/450789469/transactions/389404469", :method => :get, :body => load_fixture('transaction') end context "Transaction" do context "#find" do should "find a specific transaction" do transaction = ShopifyAPI::Transaction.find(389404469, :params => {:order_id => 450789469}) assert_equal "409.94", transaction.amount end end end end
Version data entries
29 entries across 29 versions & 1 rubygems