From bb2c5677df9665e9d1a53a3d285501ba864d3e41 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 30 Dec 2019 22:37:24 +0000 Subject: [PATCH] Add some missing route tests for the site controller --- test/controllers/site_controller_test.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/controllers/site_controller_test.rb b/test/controllers/site_controller_test.rb index a798013db..e18cc04f9 100644 --- a/test/controllers/site_controller_test.rb +++ b/test/controllers/site_controller_test.rb @@ -54,6 +54,18 @@ class SiteControllerTest < ActionController::TestCase { :path => "/fixthemap", :method => :get }, { :controller => "site", :action => "fixthemap" } ) + assert_routing( + { :path => "/help", :method => :get }, + { :controller => "site", :action => "help" } + ) + assert_routing( + { :path => "/about", :method => :get }, + { :controller => "site", :action => "about" } + ) + assert_routing( + { :path => "/about/locale", :method => :get }, + { :controller => "site", :action => "about", :about_locale => "locale" } + ) assert_routing( { :path => "/export", :method => :get }, { :controller => "site", :action => "export" } -- 2.39.5