forked from alphagov/whitehall
/
viewing-minister-pages.feature
21 lines (19 loc) · 1.04 KB
/
viewing-minister-pages.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Feature: Viewing minister pages
As a citizen
I want to be able to view a page gathering information about a minister
So that I can see what government activities they are involved with
Scenario: The minister has some published policies and publications
And a published publication "Down with Gravity" that's the responsibility of:
| Ministerial Role | Person |
| Minister of Crazy | Johnny Macaroon |
And a published publication "Hollowing out the Earth's core" that's the responsibility of:
| Ministerial Role | Person |
| Minister of Crazy | Johnny Macaroon |
When I visit the minister page for "Johnny Macaroon"
Then I should see that the minister is responsible for the documents:
| Down with Gravity |
| Hollowing out the Earth's core |
Scenario: The minister belongs to departments
Given "Johnny Macaroon" is the "Minister of Crazy" for the "Department of Woah"
When I visit the minister page for "Johnny Macaroon"
Then I should see that the minister is associated with the "Department of Woah"