1 # frozen_string_literal: true
5 class LegendPanesControllerTest < ActionDispatch::IntegrationTest
7 # test all routes which lead to this controller
10 { :path => "/panes/legend", :method => :get },
11 { :controller => "legend_panes", :action => "show" }
16 get legend_pane_path, :xhr => true
18 assert_response :success
19 assert_template "legend_panes/show"
20 assert_template :layout => false