# lunch-item-menu-usage Specification

## Purpose

Lets an admin find out, before changing a lunch item's price, whether that item is currently attached to any not-yet-closed menu - so they can be warned that employees ordering before and after the edit may see different prices.

## Requirements

### Requirement: Admin can list the open menus containing an item
The system SHALL provide a way for an admin to retrieve the set of menus that both (a) contain a given lunch item and (b) are not yet closed, where "not yet closed" means the menu's status is `coming` or `available`.

#### Scenario: Item is attached to an open menu
- **WHEN** an admin requests the open menus for an item that is attached to a menu with status `available`
- **THEN** that menu is included in the result

#### Scenario: Item is only attached to closed menus
- **WHEN** an admin requests the open menus for an item that is only attached to menus with status `completed` or `cancelled`
- **THEN** the result is empty

#### Scenario: Item is not attached to any menu
- **WHEN** an admin requests the open menus for an item that isn't attached to any menu
- **THEN** the result is empty
