Sha256: ab915005b14a3ae32d854e39cb64d7dc8c7df7ed8f727a493f789a12bf108264

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 Bytes

Contents

require 'rubygems'

ENV['RAILS_RELATIVE_URL_ROOT']='/appname'

gem 'rails', '~>3'
require 'active_support'
require 'action_controller'
require 'active_support/test_case'
require 'test/unit'
require 'rails'

RAILS_ROOT='.'
AUTH_LOG_DIR = File.join(RAILS_ROOT,'log')
Dir.mkdir(AUTH_LOG_DIR) unless File.directory?(AUTH_LOG_DIR)


module Rails
  def Rails.root  
    '.'
  end
end

Rails.application = Rails::Application.instance_exec { new }

Rails.application.routes.draw do
  match '/dummy/very_low_security', :controller => :dummy, :action => :very_low_security
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
role_based_authorization-0.3.1 test/test_helper.rb