test/test_helper.rb in stripe-5.27.0 vs test/test_helper.rb in stripe-5.28.0
- old
+ new
@@ -54,9 +54,11 @@
module Unit
class TestCase
include Stripe::TestData
include Mocha
+ WRITE_TIMEOUT_SUPPORTED = Net::HTTP.instance_methods.include?(:write_timeout=)
+
setup do
Stripe.api_key = "sk_test_123"
Stripe.api_base = "http://localhost:#{MOCK_PORT}"
stub_connect