Skip to content

Commit

Permalink
Merge pull request #343 from solidusio/elia/vc3
Browse files Browse the repository at this point in the history
Bump ViewComponent to v3
elia authored May 29, 2023

Verified

This commit was signed with the committer’s verified signature.
oliviertassinari Olivier Tassinari
2 parents b9a02e1 + bb1f2a0 commit 9c27457
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion template.rb
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@
gem 'canonical-rails'
gem 'solidus_support'
gem 'truncate_html'
gem 'view_component', '~> 2.46'
gem 'view_component', '~> 3.0'

gem_group :test do
# We need to add capybara along with a javascript driver to support the provided system specs.
6 changes: 3 additions & 3 deletions templates/spec/components/breadcrumbs_component_spec.rb
Original file line number Diff line number Diff line change
@@ -14,9 +14,9 @@

context 'when rendered' do
before do
allow(self.request).to receive(:path).and_return(request_url)

render_inline(described_class.new(taxon))
with_request_url(request_url) do
render_inline(described_class.new(taxon))
end
end

context 'when the taxon is nil' do

0 comments on commit 9c27457

Please sign in to comment.