Methods
G
S
T
Included Modules
Instance Public methods
get(*)

FIXME: shush Sass warning spam, not relevant to testing Railties

# File railties/test/application/asset_debugging_test.rb, line 40
def get(*)
  Kernel.silence_warnings { super }
end
setup()
# File railties/test/application/asset_debugging_test.rb, line 9
def setup
  # FIXME: shush Sass warning spam, not relevant to testing Railties
  Kernel.silence_warnings do
    build_app(initializers: true)
  end

  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 35
def teardown
  teardown_app
end