Add a tests for the fixthemap page
This commit is contained in:
parent
a24f52dec7
commit
affe17a31a
1 changed files with 11 additions and 0 deletions
|
@ -48,6 +48,10 @@ class SiteControllerTest < ActionController::TestCase
|
|||
{ :path => "/welcome", :method => :get },
|
||||
{ :controller => "site", :action => "welcome" }
|
||||
)
|
||||
assert_routing(
|
||||
{ :path => "/fixthemap", :method => :get },
|
||||
{ :controller => "site", :action => "fixthemap" }
|
||||
)
|
||||
assert_routing(
|
||||
{ :path => "/export", :method => :get },
|
||||
{ :controller => "site", :action => "export" }
|
||||
|
@ -253,6 +257,13 @@ class SiteControllerTest < ActionController::TestCase
|
|||
assert_template "welcome"
|
||||
end
|
||||
|
||||
# Test the fixthemap page
|
||||
def test_fixthemap
|
||||
get :fixthemap
|
||||
assert_response :success
|
||||
assert_template "fixthemap"
|
||||
end
|
||||
|
||||
# Test the help page
|
||||
def test_help
|
||||
get :help
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue