Acceptance Criteria
Given a user wants to view all computers
When the user clicks on the Computers item in the navigation bar
Then the user should see a list of all computers
And each item should be a hyperlink that can be clicked to view the details
Given a user is viewing all computers
When the user clicks the Create New link
Then the user should be presented with a form in which the following information can be entered
- Computer manufacturer
- Computer make
- Purchase date
Given user is viewing a single computer
When the user clicks on the Delete link
Then the user should be presented with a screen to verify that it should be deleted
And if the user chooses Yes from that screen, the computer should be deleted only if it is has never been assigned to an employee
Acceptance Criteria
Given a user wants to view all computers
When the user clicks on the Computers item in the navigation bar
Then the user should see a list of all computers
And each item should be a hyperlink that can be clicked to view the details
Given a user is viewing all computers
When the user clicks the Create New link
Then the user should be presented with a form in which the following information can be entered
Given user is viewing a single computer
When the user clicks on the Delete link
Then the user should be presented with a screen to verify that it should be deleted
And if the user chooses Yes from that screen, the computer should be deleted only if it is has never been assigned to an employee