To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorHotels/room images
- Background
-
- Given
- I am signed in as an admin
- Scenarios
-
- Admin views room type images page
- Admin reorders images for a room type
- Viewing image attribution
- Deleting an image
- Admin views room type images page
-
- Given
- 1 hotel with address
- And
-
that hotel has the following room types:
name An Obulus Room - And
- I am viewing that hotel
- And
- I manage room types for that hotel
- When
- I follow "An Obulus Room"
- When
- I follow "manage images"
- And
- I see the images for "An Obulus Room"
- Admin reorders images for a room type
-
- Given
-
a room type with the following images:
frontdoor.jpg plastic_cake.jpg gargoyle.jpg pillow_mint.jpg - And
- I am managing the images for that room type
- When
- I move "gargoyle.jpg" to the top
- Then
-
I see the following image list:
gargoyle.jpg frontdoor.jpg plastic_cake.jpg pillow_mint.jpg - When
- I return to the page
- Then
-
I still see the following image list:
gargoyle.jpg frontdoor.jpg plastic_cake.jpg pillow_mint.jpg
- Viewing image attribution
-
- Given
-
a room type with the following images:
frontdoor.jpg - And
- I am managing the images for that room type
- When
- I add an attribution for that image
- Then
- I can see that attribution
- Deleting an image
-
- Given
-
a room type with the following images:
frontdoor.jpg - And
- I am managing the images for that room type
- And
- I delete the image "frontdoor.jpg"
- Then
- I don't see the image "frontdoor.jpg" in the list
Last published almost 7 years ago by Faraaz Khan.