Skip to content

Commit d082d01

Browse files
authored
Merge pull request #443 from alphagov/enable-design-system-components
Add option to use GOV.UK Design System components
2 parents 1c8b7eb + bb8ff8d commit d082d01

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ ability, we're marking it as a major bump.
2121
- [Bump jasmine-core from 5.5.0 to 5.13.0 #448](https://github.com/alphagov/tech-docs-gem/pull/448)
2222
- [Ban pre|post-install NPM scripts #453](https://github.com/alphagov/tech-docs-gem/pull/453)
2323

24-
2524
## 5.2.1
2625

2726
- [Add option to not render child resources when creating a table of contents](https://github.com/alphagov/tech-docs-gem/pull/439/changes)

govuk_tech_docs.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ Gem::Specification.new do |spec|
5353
spec.add_dependency "nokogiri"
5454
spec.add_dependency "openapi3_parser", "~> 0.9.0"
5555
spec.add_dependency "redcarpet", "~> 3.6"
56-
spec.add_dependency "terser", "~> 1.2.3"
5756
spec.add_dependency "sassc-embedded", "~> 1.78.0"
5857
spec.add_dependency "schmooze", "~> 0.2.0"
58+
spec.add_dependency "terser", "~> 1.2.3"
5959
spec.add_development_dependency "byebug"
6060
spec.add_development_dependency "capybara", "~> 3.32"
6161
spec.add_development_dependency "rake", "~> 13.0"

spec/features/integration_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
when_i_view_a_page_with_prevent_indexing
4040
then_there_is_a_robots_noindex_metatag
4141
end
42-
it "does not use the GOV.UK design system components if the setting is disabled" do
42+
43+
it "does not use the GOV.UK design system components if the setting is disabled" do
4344
when_the_site_is_created_without_govuk_components
4445
and_i_visit_the_homepage
4546
then_there_is_no_button
@@ -156,5 +157,4 @@ def then_the_button_component_is_rendered
156157
expect(page).to have_content "Click me!"
157158
expect(page).to have_css "button.govuk-button"
158159
end
159-
160160
end

0 commit comments

Comments
 (0)