Skip to content

Commit 53f87c0

Browse files
committed
wave 3 user stories and details
1 parent 70a0bbc commit 53f87c0

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,15 @@ If you are not familiar with what a block of hotel rooms, here is a brief descri
109109
110110
#### User Stories
111111

112-
- As an administrator, I can create a block of rooms
113-
- To create a block you need a date range, collection of rooms and a discounted room rate
114-
- The collection of rooms should only include rooms that are available for the given date range
115-
- If a room is set aside in a block, it is not available for reservation by the general public, nor can it be included in another block
116-
- As an administrator, I can check whether a given block has any rooms available
117-
- As an administrator, I can reserve a room from within a block of rooms
118-
119-
#### Constraints
112+
- As a user of the hotel system,
113+
- I can create a Hotel Block if I give a date range, collection of rooms, and a discounted room rate
114+
- I can see an exception raised if I try to create a Hotel Block and at least one of the rooms is unavailable for the given date range
115+
- Given a specific date, and that a room is set aside in a hotel block for that specific date, I cannot reserve that specific room for that specific date, because it is unavailable
116+
- Given a specific date, and that a room is set aside in a hotel block for that specific date, I cannot create another hotel block that includes that specific room for that specific date, because it is unavailable
117+
- I can check whether a given block has any rooms available
118+
- I can reserve a room from within a block of rooms
119+
120+
#### Details
120121

121122
- A block can contain a maximum of 5 rooms
122123
- When a room is reserved from a block of rooms, the reservation dates will always match the date range of the block

0 commit comments

Comments
 (0)