Skip to content

Commit

Permalink
Rubocop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Janell-Huyck committed Dec 13, 2023
1 parent 8976951 commit 3f0cd81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/routing/dynamic_pages_routing_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3f0cd81

Please sign in to comment.