Sha256: 6141ccee13e7e6ecc3fc6d33b551fd10eff378be8bafc3304523078372d7ba66

Contents?: true

Size: 830 Bytes

Versions: 2

Compression:

Stored size: 830 Bytes

Contents

require 'rubygems'
require 'spec'
require 'activerecord'
require 'action_controller'

require 'action_controller/test_process'
require 'action_controller/integration'

require 'active_record/fixtures'

class ApplicationController < ActionController::Base
end

require 'rails/version'

require 'spec/rails/matchers'
require 'spec/rails/mocks'
require 'spec/rails/example'
require 'spec/rails/extensions'
#require 'spec/rails/interop/testcase'

this_dir = File.dirname(__FILE__)

RAILS_ROOT = File.join(this_dir,  "..")

ActiveRecord::Base.logger = Logger.new(this_dir + "/debug.log")

ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => "#{this_dir}/db/test.sqlite3")

load(File.join(this_dir, "db", "schema.rb"))

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
be9-acl9-0.9.1 spec/spec_helper.rb
be9-acl9-0.9.2 spec/spec_helper.rb