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 collaboratorHotel marketing content
- Scenarios
-
- view a hotel's marketing content and no rating
- edit a hotel's marketing content
- view a hotel's ratings
- edit a hotel's rating
- view a hotel's marketing content and no rating
-
- Given
- an admin
- And
-
the following hotel with address:
member_benefits You can have all the things if you just sign here hotel_area_info This is a safe place, you are in the trust tree how_to_get_there click your heels 3 times - And
- that hotel amentity has 1 amenity
- And
- I am signed in
- When
- I view that hotel
- And
- I follow "Marketing Content"
- Then
- I see that hotel's marketing content
- And
- I see null ratings
- edit a hotel's marketing content
-
- Given
- 1 hotel with address
- And
-
that hotel amenity has the following amenity:
name Continental breakfast - And
- I am signed in as an admin
- When
- I view that hotel
- And
- I follow "Marketing Content"
- And
- I follow "edit marketing content"
- And
-
I fill in the following:
Member benefits new benefits Hotel area info new information How to get there new directions - And
- I check "Continental breakfast"
- And
- I press "save changes"
- Then
- I see that hotel's marketing content
- view a hotel's ratings
-
- Given
- 1 hotel with address
- And
- that hotel has 1 rating
- And
- I am signed in as an admin
- When
- I view that hotel's marketing content
- Then
- I see that hotel's ratings
- edit a hotel's rating
-
- Given
- 1 hotel with address
- And
- I am signed in as an admin
- And
- I am editing that hotel's marketing content
- When
- I fill in the the ratings
- And
- I press "save changes"
- Then
- I see that hotel's ratings
Last published over 7 years ago by Faraaz Khan.