Sha256: 5374bc3230cf38953613be678a13d3792d2d2f87ddf2689aaeb91925e76e455f

Contents?: true

Size: 603 Bytes

Versions: 3

Compression:

Stored size: 603 Bytes

Contents

require 'rubygems'
require 'test/unit'
require 'rails/all'
require 'rails/generators'
require 'rails/generators/test_case'

class TestApp < Rails::Application
  config.root = File.dirname(__FILE__)
end
Rails.application = TestApp

module Rails
  def self.root
    @root ||= File.expand_path(File.join(File.dirname(__FILE__), '..', 'tmp', 'rails'))
  end
end
Rails.application.config.root = Rails.root

# Call configure to load the settings from
# Rails.application.config.generators to Rails::Generators
Rails::Generators.configure!

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jquery-rails-0.2.2 test/test_helper.rb
jquery-rails-0.2.1 test/test_helper.rb
jquery-rails-0.2 test/test_helper.rb