Sha256: d3406ead85ae98f5e118f5fbbfdb0274a08ee11f2433a255ca39a6f955df83c2
Contents?: true
Size: 476 Bytes
Versions: 37
Compression:
Stored size: 476 Bytes
Contents
require 'test_helper' class TransactionTest < Test::Unit::TestCase def setup super 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
37 entries across 37 versions & 1 rubygems