We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d3a6d commit c6c0d54Copy full SHA for c6c0d54
spec/integration/orders_spec.rb
@@ -29,8 +29,14 @@
29
end
30
31
32
- it "supports place and cancel for order created via an estimate" do
+ it "supports place and cancel for orders created via an estimate" do
33
VCR.use_cassette('estimate_orders') do
34
+ # Configure the Patch gem
35
+ Patch.configure do |config|
36
+ config.access_token = ENV['PATCH_RUBY_API_KEY']
37
+ config.host = ENV['PATCH_RUBY_HOST']
38
+ end
39
+
40
create_estimate_to_place_response = Patch::Estimate.create_mass_estimate(mass_g: 100)
41
order_to_place_id = create_estimate_to_place_response.data.order.id
42
0 commit comments