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 collaboratorAdministering world location information
- Background
-
- Given
- I am an admin
- Scenarios
-
- Featuring news on an world location page
- Defining the order of featured news on an organisation page
- Featuring different things on different locale versions of a world location page
- Featuring shows the correct translation of the article on world location page
- Featuring things that aren't associated with the world location
- Adding a new translation
- Editing an existing translation
- Featuring news on an world location page
-
- Given
- a world location "Jamestopia" exists
- And
- a published news article "You must buy the X-Factor single, says Queen" exists relating to the world location "Jamestopia" produced 4 days ago
- When
- I feature the news article "You must buy the X-Factor single, says Queen" for world location "Jamestopia" with image "minister-of-funk.960x640.jpg"
- Then
-
I should see the featured items of the world location "Jamestopia" are:
You must buy the X-Factor single, says Queen s300_minister-of-funk.960x640.jpg
- Defining the order of featured news on an organisation page
-
- Given
- a world location "Jamestopia" exists
- And
- a published news article "You must buy the X-Factor single, says Queen" exists relating to the world location "Jamestopia" produced 4 days ago
- And
- a published news article "Simon Cowell to receive dubious honour" exists relating to the world location "Jamestopia" produced 2 days ago
- And
- a published news article "Bringing back the Charleston" exists relating to the world location "Jamestopia" produced 3 days ago
- And
- I feature the news article "Bringing back the Charleston" for world location "Jamestopia"
- And
- I feature the news article "You must buy the X-Factor single, says Queen" for world location "Jamestopia"
- When
-
I order the featured items of the world location "Jamestopia" to:
You must buy the X-Factor single, says Queen Bringing back the Charleston - Then
-
I should see the featured items of the world location "Jamestopia" are:
You must buy the X-Factor single, says Queen Bringing back the Charleston
- Featuring different things on different locale versions of a world location page
-
- Given
- a world location "Jamestopia" exists in both english and french
- And
- an english news article called "Beards" related to the world location
- When
- I feature "Beards" on the english "Jamestopia" page
- Then
- I should see no featured items on the french version of the "Jamestopia" page
- Featuring shows the correct translation of the article on world location page
-
- Given
- a world location "Jamestopia" exists in both english and french
- And
- there is a news article "Beards" in english ("Barbes" in french) related to the world location
- When
- I feature "Barbes" on the french "Jamestopia" page
- Then
- I should see "Barbes" as the title of the featured item on the french "Jamestopia" admin page
- And
- I should see "Barbes" as the title of the feature on the french "Jamestopia" page
- And
- clicking on "Barbes" on the french "Jamestopia" page should take me to the french version of the article
- Featuring things that aren't associated with the world location
-
- Given
- a world location "Jamestopia" exists in both english and french
- And
- a published news article "Beards" which isn't explicitly associated with "Jamestopia"
- When
- I feature "Beards" on the english "Jamestopia" page
- Then
- I should see "Beards" featured on the public facing "Jamestopia" page
- And
- I cannot feature "Beards" on the french "Jamestopia" page due to the lack of a translation
- Adding a new translation
-
- Given
- a world location "Afrolasia" exists with the mission statement "The UK has a long-standing relationship with Afrolasia"
- When
-
I add a new translation to the world location "Afrolasia" with:
locale Français name Afrolasie title UK en Afrolasia mission_statement Le Royaume-Uni a une relation de longue date avec Afrolasie - Then
-
when viewing the world location "Afrolasia" with the locale "Français" I should see:
name Afrolasie title UK en Afrolasia mission_statement Le Royaume-Uni a une relation de longue date avec Afrolasie
- Editing an existing translation
-
- Given
- a world location "Afrolasia" exists with a translation for the locale "Français"
- When
-
I edit the "Français" translation for "Afrolasia" setting:
locale Français name Afrolandie title UK en Afrolandie mission_statement Enseigner aux gens comment infuser le thé - Then
-
when viewing the world location "Afrolasia" with the locale "Français" I should see:
name Afrolandie title UK en Afrolandie mission_statement Enseigner aux gens comment infuser le thé
Last published about 7 years ago by David Heath.