Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Add contract tests #143

Merged
merged 5 commits into from
May 11, 2015
Merged

Add contract tests #143

merged 5 commits into from
May 11, 2015

Conversation

jamiecobbett
Copy link
Contributor

No description provided.

@jamiecobbett jamiecobbett force-pushed the add_contract_tests branch 5 times, most recently from 8cd664e to f1062ef Compare May 6, 2015 14:14
@@ -159,4 +159,38 @@
expect(page.status_code).to eq(200)
end
end

describe "support for example manuals in govuk-content-schemas" do
it 'should render a vaguely correct page' do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description probably needs to be a bit less, well, vague. 'should render a page containing the title'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed - rebased.

Testing this way means that as examples are added, running these tests will
automatically test the app against them.

Ideally we'd have more in-depth tests using the example(s), but this would
duplicate the existing tests.
Different contract tests will be needed for hmrc_manuals and
hmrc_manual_sections.
danielroseman added a commit that referenced this pull request May 11, 2015
@danielroseman danielroseman merged commit df1d610 into master May 11, 2015
@danielroseman danielroseman deleted the add_contract_tests branch May 11, 2015 10:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants