1 # frozen_string_literal: true
5 class WebglErrorPanesControllerTest < ActionDispatch::IntegrationTest
7 # test all routes which lead to this controller
10 { :path => "/panes/webgl_error", :method => :get },
11 { :controller => "webgl_error_panes", :action => "show" }
16 get webgl_error_pane_path, :xhr => true
18 assert_response :success
19 assert_template "webgl_error_panes/show"
20 assert_template :layout => false
21 assert_select "div.maplibre-error"