Rename browse controller to feature queries controller

This commit is contained in:
Anton Khorev 2025-03-05 20:12:39 +03:00
parent 8878c963f3
commit cca07cf0b5
6 changed files with 11 additions and 10 deletions

View 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