openstreetmap-website/test/controllers/dashboards_controller_test.rb
Anton Khorev 22841f5908 Convert dashboard test into a system test
Allows to remove an id used only for testing.
2024-08-22 17:47:26 +03:00

12 lines
304 B
Ruby

require "test_helper"
class DashboardsControllerTest < ActionDispatch::IntegrationTest
##
# test all routes which lead to this controller
def test_routes
assert_routing(
{ :path => "/dashboard", :method => :get },
{ :controller => "dashboards", :action => "show" }
)
end
end