Sha256: 97b2a959b2ddee60a373f5c6cba43ef0ce5526fcf58b3b4a31fb908e1e7e02bb

Contents?: true

Size: 968 Bytes

Versions: 1

Compression:

Stored size: 968 Bytes

Contents

require 'rubygems'

begin
  gem "test-unit"
rescue LoadError
end

begin
  gem "ruby-debug"
  require 'ruby-debug'
rescue LoadError
end

require 'test/unit'
require 'mocha'

ENV["RAILS_ENV"] = "test"
RAILS_ROOT = "anywhere"

gem "activesupport", "3.0.0.beta"
require "active_support"

gem "activemodel", "3.0.0.beta"
require "active_model"

gem "actionpack", "3.0.0.beta"
require "action_controller"
require "action_dispatch/middleware/flash"

require "rails/railtie"

I18n.load_path << File.join(File.dirname(__FILE__), 'locales', 'en.yml')
I18n.reload!

class ApplicationController < ActionController::Base; end

# Add IR to load path and load the main file
ActiveSupport::Dependencies.load_paths << File.expand_path(File.dirname(__FILE__) + '/../lib')
require_dependency 'inherited_resources'

ActionController::Base.view_paths = File.join(File.dirname(__FILE__), 'views')

ActionController::Routing::Routes.draw do |map|
  map.connect ':controller/:action/:id'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inherited_resources-1.1.pre test/test_helper.rb