Logo: Relish

  1. Sign in

Project: Angus-playground

Editing a Game

As a logged in user (with the role of admin?)
I want to keep the data about a game up-to-date
So that the site remains a valid resource

Scenarios
Creating a new game which can be found using the API
Given
that I want to review a game
And
the game is not on the site
But
the API source for game data has the game
Then
the site will pull the data from the API
And
create a new page for it
Creating a new game which cannot be found using the API
Given
that I want to review a game
And
the game is not on the site
And
the API source for game data does not have the game
Then
I will be asked to provide basic information for the game
And
a new page will be generated with this data
And
it will be flagged as user-generated
Suggesting an update to a game's information
Given
that I am viewing a game
And
I am logged in as a normal user
When
I suggest an update to the game
Then
this change is flagged up for admins
Accepting suggested changes
Given
that I am logged in with the role of admin
When
I am viewing all suggested changes
And
I agree with one
Then
I can accept it
And
the game's information will be updated
Rejecting suggested changes
Given
that I am logged in with the role of admin
When
I am viewing all suggested changes
And
I disagree with one
Then
I can reject it
And
the suggestion will be deleted
Editing a game which already exists
Given
I am viewing a game
And
I am logged in with the role of admin
When
I deem the information to be incorrect
Then
I can enter an edit mode
And
make changes to the information

Last published almost 5 years ago by Angus Todd.