Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
9 changes: 9 additions & 0 deletions test/template_handler_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@

class SiteController < ActionController::Base
self.view_paths = File.expand_path("../support", __FILE__)

# NOTE: Without this the index.html.erb template is selected
# when requesting index.js
# def index
# respond_to do |format|
# format.html
# format.js { render formats: [:js] }
# end
# end
end

DummyApp = ActionDispatch::Routing::RouteSet.new
Expand Down