Skip to content

Commit

Permalink
Bump publishing component gem to 1.9.0
Browse files Browse the repository at this point in the history
- modify component guide test to account for changes in 1.9.0
  • Loading branch information
andysellick committed Sep 20, 2017
1 parent 4dbd84d commit 4e8fb91
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gem 'sass-rails', "5.0.6"
gem 'airbrake', github: 'alphagov/airbrake', branch: 'silence-dep-warnings-for-rails-5'
gem 'nokogiri', "~> 1.7"
gem 'redis', "~> 3.3.3"
gem 'govuk_publishing_components', '~> 1.5.0', require: false
gem 'govuk_publishing_components', '~> 1.9.0', require: false

group :development do
gem 'image_optim', '0.17.1'
Expand Down
13 changes: 9 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,13 @@ GEM
govuk_frontend_toolkit (7.0.1)
railties (>= 3.1.0)
sass (>= 3.2.0)
govuk_publishing_components (1.5.0)
govuk_publishing_components (1.9.0)
govspeak (>= 5.0.3)
govuk_frontend_toolkit
rails (>= 5.0.0.1)
rouge
sass-rails (>= 5.0.4)
slimmer
slimmer (>= 11.1.0)
govuk_template (0.22.2)
rails (>= 3.1)
hashdiff (0.3.6)
Expand Down Expand Up @@ -222,6 +223,7 @@ GEM
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rouge (2.2.1)
rubocop (0.35.1)
astrolabe (~> 1.3)
parser (>= 2.2.3.0, < 3.0)
Expand Down Expand Up @@ -249,7 +251,7 @@ GEM
shoulda-context (1.2.1)
shoulda-matchers (2.8.0)
activesupport (>= 3.0.0)
slimmer (11.0.2)
slimmer (11.1.1)
activesupport
json
nokogiri (~> 1.7)
Expand Down Expand Up @@ -306,7 +308,7 @@ DEPENDENCIES
govuk-content-schema-test-helpers (~> 1.4)
govuk-lint (~> 0.6.0)
govuk_frontend_toolkit (~> 7.0.1)
govuk_publishing_components (~> 1.5.0)
govuk_publishing_components (~> 1.9.0)
govuk_template (= 0.22.2)
image_optim (= 0.17.1)
jasmine-rails (~> 0.14.1)
Expand All @@ -327,5 +329,8 @@ DEPENDENCIES
unicorn (= 4.9.0)
webmock

RUBY VERSION
ruby 2.2.3p173

BUNDLED WITH
1.15.1
2 changes: 1 addition & 1 deletion test/integration/component_guide_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def setup
should "render an index" do
visit "/component-guide"
assert page.has_selector? "title", text: 'Static Component Guide', visible: false
assert page.has_selector? shared_component_selector('title')
assert page.has_selector? '.pub-c-title', text: 'Static Component Guide'
end

should "render all component previews without erroring" do
Expand Down

0 comments on commit 4e8fb91

Please sign in to comment.