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
|
@ -6,13 +6,13 @@ class BrowseControllerTest < ActionDispatch::IntegrationTest
|
|||
def test_routes
|
||||
assert_routing(
|
||||
{ :path => "/query", :method => :get },
|
||||
{ :controller => "browse", :action => "query" }
|
||||
{ :controller => "feature_queries", :action => "show" }
|
||||
)
|
||||
end
|
||||
|
||||
def test_query
|
||||
get query_path
|
||||
def test_show
|
||||
get feature_query_path
|
||||
assert_response :success
|
||||
assert_template "browse/query"
|
||||
assert_template "feature_queries/show"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue