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 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 } }