Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ gem 'strong_migrations', '>= 0.4.2'
gem 'subprocess', require: false
gem 'terminal-table', require: false
gem 'valid_email', '>= 0.1.3'
gem 'view_component', '~> 3.0.0'
gem 'view_component', '~> 3.0'
gem 'webauthn', '~> 2.5.2'
gem 'xmldsig', '~> 0.6'
gem 'xmlenc', '~> 0.7', '>= 0.7.1'
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ GEM
bindata (2.4.15)
bootsnap (1.17.0)
msgpack (~> 1.2)
brakeman (6.0.1)
brakeman (6.1.0)
browser (5.3.1)
builder (3.2.4)
bullet (7.1.4)
Expand Down Expand Up @@ -684,7 +684,7 @@ GEM
activemodel
mail (>= 2.6.1)
simpleidn
view_component (3.0.0)
view_component (3.8.0)
activesupport (>= 5.2.0, < 8.0)
concurrent-ruby (~> 1.0)
method_source (~> 1.0)
Expand Down Expand Up @@ -842,7 +842,7 @@ DEPENDENCIES
tableparser
terminal-table
valid_email (>= 0.1.3)
view_component (~> 3.0.0)
view_component (~> 3.0)
webauthn (~> 2.5.2)
webmock
xmldsig (~> 0.6)
Expand Down
10 changes: 1 addition & 9 deletions spec/components/tab_navigation_component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,7 @@
post '(:example_param)/second' => 'application#second_create'
end

with_request_url(request_path) do
vc_test_request.request_method = request_method
vc_test_request.path_parameters = Rails.application.routes.recognize_path_with_request(
vc_test_request,
request_path,
{},
)
example.run
end
with_request_url(request_path, method: request_method) { example.run }

Rails.application.reload_routes!
end
Expand Down