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