From 8efb9b18b87f4e204fb938f0ad0fad64cb839a6e Mon Sep 17 00:00:00 2001 From: Haruka Sato Date: Mon, 1 Sep 2025 11:39:10 +0900 Subject: [PATCH 1/2] Fix typo in boutique_inventory_test.rb --- exercises/concept/boutique-inventory/boutique_inventory_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/boutique-inventory/boutique_inventory_test.rb b/exercises/concept/boutique-inventory/boutique_inventory_test.rb index 1de35af31e..b94b46eff1 100644 --- a/exercises/concept/boutique-inventory/boutique_inventory_test.rb +++ b/exercises/concept/boutique-inventory/boutique_inventory_test.rb @@ -86,7 +86,7 @@ def test_stock_for_item_for_some_in_stock assert_equal({ s: 1, xl: 4 }, BoutiqueInventory.new(items).stock_for_item("Shoes")) end - def test_stock_for_item_for_some_in_stock_in_last_postion + def test_stock_for_item_for_some_in_stock_in_last_position shoes = { price: 30.00, name: "Shoes", quantity_by_size: { s: 1, xl: 4 } } coat = { price: 65.00, name: "Coat", quantity_by_size: { s: 2 } } handkerchief = { price: 19.99, name: "Handkerchief", quantity_by_size: { m: 3, l: 2 } } From 9ca7f8db685c829cd7b8186819c04c3ef1a01364 Mon Sep 17 00:00:00 2001 From: Haruka Sato Date: Mon, 1 Sep 2025 11:39:42 +0900 Subject: [PATCH 2/2] Fix the missing double quotation marks --- exercises/concept/boutique-inventory/.docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/boutique-inventory/.docs/introduction.md b/exercises/concept/boutique-inventory/.docs/introduction.md index 705a54d15d..278d06dffc 100644 --- a/exercises/concept/boutique-inventory/.docs/introduction.md +++ b/exercises/concept/boutique-inventory/.docs/introduction.md @@ -40,7 +40,7 @@ This helps both in terms of developer clarity and also is a performance optimisa ```ruby pet_names = {cat: "bob", horse: "caris", mouse: "arya"} -pet_names.map { |_, name| name } #=> ["bob, "caris", "arya"] +pet_names.map { |_, name| name } #=> ["bob", "caris", "arya"] ``` ## Nested Enumerations