mirror of
				https://github.com/stripe/stripe-ruby.git
				synced 2025-10-31 00:02:18 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			391 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			391 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| # frozen_string_literal: true
 | |
| 
 | |
| require ::File.expand_path("../test_helper", __dir__)
 | |
| 
 | |
| module Stripe
 | |
|   class MandateTest < Test::Unit::TestCase
 | |
|     should "be retrievable" do
 | |
|       schedule = Stripe::Mandate.retrieve("mandate_123")
 | |
|       assert_requested :get,
 | |
|                        "#{Stripe.api_base}/v1/mandates/mandate_123"
 | |
|       assert schedule.is_a?(Stripe::Mandate)
 | |
|     end
 | |
|   end
 | |
| end
 |