From 3f0cd81d966becffa9a93aa00a464e97d1153719 Mon Sep 17 00:00:00 2001 From: Janell-Huyck Date: Wed, 13 Dec 2023 15:56:07 -0500 Subject: [PATCH] Rubocop fix --- spec/routing/dynamic_pages_routing_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/routing/dynamic_pages_routing_spec.rb b/spec/routing/dynamic_pages_routing_spec.rb index 1f4dcb04..d381a401 100644 --- a/spec/routing/dynamic_pages_routing_spec.rb +++ b/spec/routing/dynamic_pages_routing_spec.rb @@ -6,7 +6,7 @@ describe 'routing' do PagesController::ALLOWED_PAGES.each do |page| it "routes to #show with #{page} as parameter" do - expect(get: "/pages/#{page}").to route_to('pages#show', page: page) + expect(get: "/pages/#{page}").to route_to('pages#show', page:) end end