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 collaboratorAdmin manages images for hotel
- Scenarios
-
- Scenario
-
- Given
- I am signed in as an admin
- And
- a recently added hotel
- And
- I am viewing that hotel
- When
- I add an image
- Then
- I see a thumbnail for that image
- When
- I add an attribution for that image
- Then
- I can see that attribution
- When
- I am viewing that hotel
- Then
- I see the image I just uploaded
- When
- I am viewing the list of hotels
- Then
- I see that image in the list
- reordering
-
- Given
- I am signed in as an admin
- And
-
a hotel with the following images:
frontdoor.jpg plastic_cake.jpg gargoyle.jpg pillow_mint.jpg - And
- I am managing the images for that hotel
- 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
- delete
-
- Given
- I am signed in as an admin
- And
- a hotel with an image
- And
- I am managing the images for that hotel
- When
- I delete that image
- Then
- I don't see that thumbnail
- When
- I am viewing the list of hotels
- Then
- I don't see that image in the list
Last published over 7 years ago by Faraaz Khan.