Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 584 Bytes
Feature: Related items
In order to help visitors find their way on GOV.UK
I want to assign related items to artefacts
Background:
Given I am an admin
@javascript
Scenario: Assign a related item
Given two artefacts exist
When I create a relationship between them
And I save
Then the API should say that the artefacts are related
@javascript
Scenario: Unassign a related item
Given two artefacts exist
And the artefacts are related
When I destroy their relationship
And the API should say that the artefacts are not related