Skip to content

Commit

Permalink
Rubocop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Janell-Huyck committed Jan 30, 2024
1 parent 4fb9dc0 commit 55eb408
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 55eb408

Please sign in to comment.