Sha256: dea42e15ad2cb13ca2b418c3ad186d65e1344e5852a75ca129fda721eba83a41
Contents?: true
Size: 857 Bytes
Versions: 9
Compression:
Stored size: 857 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" require 'active_support' require 'action_controller' require 'action_controller/test_case' require 'action_controller/test_process' 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
9 entries across 9 versions & 2 rubygems