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 creates hotel with same billing as physical address
- Scenarios
-
- using the same as physical address checkbox
-
- Given
- an admin
- And
-
the following countries:
name iso code Lithuania 3166-2:LT United States 3166-2:US - And
- I am on the sign in page
- And
- I provide appropriate credentials
- And
- I click "sign in"
- When
- I follow "add a hotel"
- And
-
I fill in the following:
Name The Standard Description 18 Story tower arching over the highline downtown Headline This is the Standard hotel[physical_address_attributes][line_1] 848 Washington at 13th Street hotel[physical_address_attributes][line_2] More address info hotel[physical_address_attributes][line_3] Even more address info hotel[physical_address_attributes][city] New York hotel[physical_address_attributes][state_or_province] NY hotel[physical_address_attributes][postal_code] 10014 Primary Email [email protected] Primary Phone (212) 645-4646 Primary Fax (212) 645-5656 - And
- I select "United States" from "Country" within the "#public_info" id
- And
- I follow "copy from physical address"
- When
- I follow "add another contact"
- And
-
I fill in the following within the "#contact_info" id:
Name Bob Dobbs Email [email protected] Phone 555-555-555 - And
- I fill in "Role" with "concierge"
- And
- I click "create hotel"
- Then
- I should see "Hotel successfully created."
- And
-
I should see the following billing address information:
848 Washington at 13th Street More address info Even more address info New York, NY 10014
Last published over 7 years ago by Faraaz Khan.