spec/integration/estimates_spec.rb in patch_ruby-1.10.1 vs spec/integration/estimates_spec.rb in patch_ruby-1.10.2
- old
+ new
@@ -72,11 +72,12 @@
expect(create_estimate_response.data.type).to eq 'shipping'
expect(create_estimate_response.data.mass_g).to eq 12_431
end
+
it 'supports creating bitcoin estimates with partial information' do
- bitcoin_estimate = Patch::Estimate.create_bitcoin_estimate({ create_order: false })
+ bitcoin_estimate = Patch::Estimate.create_bitcoin_estimate({})
expect(bitcoin_estimate.data.type).to eq 'bitcoin'
expect(bitcoin_estimate.data.mass_g).to be >= 2_000
end