Skip to content

Commit

Permalink
12890: fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
chahmedejaz committed Nov 22, 2024
1 parent 7cd8311 commit 3b83200
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions engines/dfc_provider/spec/services/affiliate_sales_query_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,17 @@
it "converts an array to a hash" do
row = [
"Apples",
"item", "item", nil, nil,
"item",
"item",
nil,
nil,
15.50,
"3210", "3211",
"3210",
"city1",
"country1",
"3211",
"city2",
"country2",
3,
]
expect(query.label_row(row)).to eq(
Expand All @@ -67,7 +75,11 @@
unit_presentation: nil,
price: 15.50,
distributor_postcode: "3210",
distributor_city: "city1",
distributor_country: "country1",
supplier_postcode: "3211",
supplier_city: "city2",
supplier_country: "country2",
quantity_sold: 3,
}
)
Expand Down

0 comments on commit 3b83200

Please sign in to comment.