Sha256: e624a2fa03d589c31c0da74f0859aa64638c5eaa443a1bfc31009912525e648c
Contents?: true
Size: 641 Bytes
Versions: 20
Compression:
Stored size: 641 Bytes
Contents
require File.expand_path("../../test_helper", __FILE__) module Stripe class OrderReturnTest < Test::Unit::TestCase should "be listable" do order_returns = Stripe::OrderReturn.list assert_requested :get, "#{Stripe.api_base}/v1/order_returns" assert order_returns.data.is_a?(Array) assert order_returns.data[0].is_a?(Stripe::OrderReturn) end should "be retrievable" do order_return = Stripe::OrderReturn.retrieve("orret_123") assert_requested :get, "#{Stripe.api_base}/v1/order_returns/orret_123" assert order_return.is_a?(Stripe::OrderReturn) end end end
Version data entries
20 entries across 20 versions & 1 rubygems