Methods
S
T
Included Modules
Instance Public methods
setup()
# File railties/test/application/asset_debugging_test.rb, line 9
def setup
  build_app(initializers: true)

  app_file "app/assets/javascripts/application.js", "//= require_tree ."
  app_file "app/assets/javascripts/xmlhr.js", "function f1() { alert(); }"
  app_file "app/views/posts/index.html.erb", "<%= javascript_include_tag 'application' %>"

  app_file "config/routes.rb", <<-RUBY
    Rails.application.routes.draw do
      get '/posts', to: "posts#index"
    end
  RUBY

  app_file "app/controllers/posts_controller.rb", <<-RUBY
    class PostsController < ActionController::Base
    end
  RUBY

  ENV["RAILS_ENV"] = "production"

  boot_rails
end
teardown()
# File railties/test/application/asset_debugging_test.rb, line 32
def teardown
  teardown_app
end