Allow POST requests to the home page so OpenSearch works
This commit is contained in:
parent
05aa7f377e
commit
21855aa355
2 changed files with 5 additions and 1 deletions
|
@ -10,6 +10,10 @@ class SiteControllerTest < ActionController::TestCase
|
|||
{ :path => "/", :method => :get },
|
||||
{ :controller => "site", :action => "index" }
|
||||
)
|
||||
assert_routing(
|
||||
{ :path => "/", :method => :post },
|
||||
{ :controller => "site", :action => "index" }
|
||||
)
|
||||
assert_recognizes(
|
||||
{ :controller => "site", :action => "index" },
|
||||
{ :path => "/index.html", :method => :get }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue