Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exercises/concept/boutique-inventory/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 } }
Expand Down