Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (18 sloc) 0.588 kb
49a2599 Add tests for HandlebarsJS assets processing.
Emmanuel Bastien authored
1 # Configure Rails Environment
5b71033 @stefanpenner add ruby 2.0.0 tests (and make them work)
stefanpenner authored
2 ENV['RAILS_ENV'] = 'test'
49a2599 Add tests for HandlebarsJS assets processing.
Emmanuel Bastien authored
3
b4cf201 @hajee Added support for installing from the beta, canary and release channels
hajee authored
4 require 'fileutils'
b6e7648 @machty Deleted all vendored .js files in favor of using -source gems.
machty authored
5 # Remove tmp dir of dummy app before it's booted.
6 FileUtils.rm_rf "#{File.dirname(__FILE__)}/dummy/tmp"
7
5b71033 @stefanpenner add ruby 2.0.0 tests (and make them work)
stefanpenner authored
8 require File.expand_path('../dummy/config/environment.rb', __FILE__)
9 require 'rails/generators'
10 require 'rails/test_help'
11
12 begin
13 require 'minitest'
14 TestCase = Minitest::Test
15 rescue LoadError
16 require 'test/unit'
17 puts 'minitest not found, falling back to test/unit'
18 TestCase = Test::Unit::TestCase
19 end
20
21 require 'active_support/core_ext/kernel/reporting'
49a2599 Add tests for HandlebarsJS assets processing.
Emmanuel Bastien authored
22
23 Rails.backtrace_cleaner.remove_silencers!
Something went wrong with that request. Please try again.