Skip to content

Commit c35d09b

Browse files
committed
test: update room registration scenarios to use room numbers
1 parent 469cc38 commit c35d09b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test/resources/org/soujava/demos/mongodb/room.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ Feature: Manage hotel rooms
22

33
Scenario: Register a new room
44
Given the hotel management system is operational
5-
When I register a room named "Blue Ocean"
6-
Then the room "Blue Ocean" should appear in the room list
5+
When I register a room with number 101
6+
Then the room with number 101 should appear in the room list
77

88
Scenario: Register multiple rooms
99
Given the hotel management system is operational
1010
When I register the following rooms:
11-
| name | type | status | cleanStatus |
12-
| Ocean View | VIP | FREE | CLEAN |
13-
| Garden View | STANDARD | OCCUPIED | DIRTY |
14-
| City Light | SUITE | FREE | CLEAN |
11+
| number | type | status | cleanStatus |
12+
| 101 | STANDARD | FREE | CLEAN |
13+
| 102 | SUITE | OCCUPIED | DIRTY |
14+
| 103 | VIP | FREE | CLEAN |
1515
Then there should be 3 rooms available in the system

0 commit comments

Comments
 (0)