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 collaboratorBuildings
- Background
-
- Given
- personas dump is loaded
- And
- I am Gino
- When
- I visit "/admin/buildings"
- Scenarios
-
- Listing existing buildings
- Creating existing buildings with required values
- Creating existing buildings omitting required values
- Editing existing buildings
- Deleting existing buildings
- Listing existing buildings
-
- Then
- I see a list of all buildings
- And
- the buildings are sorted alphabetically
- And
- the first row contains name of the building
- And
- the first row contains code of the building
- And
- the first row contains rooms count of the building
- And
- the first row contains items count of the building
- And
- the general building row contains the general label
- And
- the general building row is highlighted
- Creating existing buildings with required values
-
- When
- I create a new building providing all required values
- And
- I save
- Then
- I see a list of buildings
- And
- I see the new building
- And
- the new building was created in the database
- And
- a general room for this building was created in the database
- Creating existing buildings omitting required values
-
- When
- I create a new building not providing all required values
- And
- I save
- Then
- I see an error message
- And
- I see the building form
- Editing existing buildings
-
- When
- I edit an existing building
- And
- I save
- Then
- I see a list of buildings
- And
- I see the edited building
- Deleting existing buildings
-
- Given
- there is a deletable building
- When
- I visit "/admin/buildings"
- When
- I delete a building
- Then
- I see a list of buildings
- And
- I don't see the deleted building
- And
- the building was deleted from the database
- And
- its general room was deleted from the database too
Last published 8 days ago by mkmit.