Rename browse controller to feature queries controller
This commit is contained in:
parent
8878c963f3
commit
cca07cf0b5
6 changed files with 11 additions and 10 deletions
18
test/controllers/feature_queries_controller_test.rb
Normal file
18
test/controllers/feature_queries_controller_test.rb
Normal file
|
@ -0,0 +1,18 @@
|
|||
require "test_helper"
|
||||
|
||||
class BrowseControllerTest < ActionDispatch::IntegrationTest
|
||||
##
|
||||
# test all routes which lead to this controller
|
||||
def test_routes
|
||||
assert_routing(
|
||||
{ :path => "/query", :method => :get },
|
||||
{ :controller => "feature_queries", :action => "show" }
|
||||
)
|
||||
end
|
||||
|
||||
def test_show
|
||||
get feature_query_path
|
||||
assert_response :success
|
||||
assert_template "feature_queries/show"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue