summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Norman <jared@super.gd>2019-05-13 20:10:51 -0700
committerJared Norman <jared@super.gd>2019-05-13 20:10:51 -0700
commit09194d30b4e1681d1048135ab64f7ef67dd39479 (patch)
tree49891e2be131b9676c1a5939045743e751e9cc5c
parent1015448f7dc6efa85a4b65c5417dfc870571ea73 (diff)
Fix wack indentation
1-space?????
-rw-r--r--spec/super_good/solidus_taxjar/api_params_spec.rb64
1 files changed, 32 insertions, 32 deletions
diff --git a/spec/super_good/solidus_taxjar/api_params_spec.rb b/spec/super_good/solidus_taxjar/api_params_spec.rb
index 9718b88..558379f 100644
--- a/spec/super_good/solidus_taxjar/api_params_spec.rb
+++ b/spec/super_good/solidus_taxjar/api_params_spec.rb
@@ -192,26 +192,26 @@ RSpec.describe SuperGood::SolidusTaxJar::APIParams do
it "returns params for creating/updating an order transaction" do
expect(subject).to eq({
- amount: BigDecimal("113.58"),
- customer_id: "12345",
- sales_tax: BigDecimal("9.87"),
- shipping: BigDecimal("3.01"),
- to_city: "Los Angeles",
- to_country: "US",
- to_state: "CA",
- to_street: "475 N Beverly Dr",
- to_zip: "90210",
- transaction_date: "2018-03-06T12:10:33Z",
- transaction_id: "R111222333",
- line_items: [{
- id: line_item.id,
- quantity: 3,
- product_identifier: "G00D-PR0DUCT",
- product_tax_code: "A_GEN_TAX",
- unit_price: 10,
- discount: 2,
- sales_tax: 4
- }]
+ amount: BigDecimal("113.58"),
+ customer_id: "12345",
+ sales_tax: BigDecimal("9.87"),
+ shipping: BigDecimal("3.01"),
+ to_city: "Los Angeles",
+ to_country: "US",
+ to_state: "CA",
+ to_street: "475 N Beverly Dr",
+ to_zip: "90210",
+ transaction_date: "2018-03-06T12:10:33Z",
+ transaction_id: "R111222333",
+ line_items: [{
+ id: line_item.id,
+ quantity: 3,
+ product_identifier: "G00D-PR0DUCT",
+ product_tax_code: "A_GEN_TAX",
+ unit_price: 10,
+ discount: 2,
+ sales_tax: 4
+ }]
})
end
@@ -252,18 +252,18 @@ RSpec.describe SuperGood::SolidusTaxJar::APIParams do
it "excludes the line item" do
expect(subject).to eq({
- amount: BigDecimal("113.58"),
- customer_id: "12345",
- sales_tax: BigDecimal("9.87"),
- shipping: BigDecimal("3.01"),
- to_city: "Los Angeles",
- to_country: "US",
- to_state: "CA",
- to_street: "475 N Beverly Dr",
- to_zip: "90210",
- transaction_date: "2018-03-06T12:10:33Z",
- transaction_id: "R111222333",
- line_items: []
+ amount: BigDecimal("113.58"),
+ customer_id: "12345",
+ sales_tax: BigDecimal("9.87"),
+ shipping: BigDecimal("3.01"),
+ to_city: "Los Angeles",
+ to_country: "US",
+ to_state: "CA",
+ to_street: "475 N Beverly Dr",
+ to_zip: "90210",
+ transaction_date: "2018-03-06T12:10:33Z",
+ transaction_id: "R111222333",
+ line_items: []
})
end
end