Sha256: 6a1e7f20f42d96f33af60522945bdfe4fc570e7fdedf3452a8a19727a08228f1

Contents?: true

Size: 779 Bytes

Versions: 3

Compression:

Stored size: 779 Bytes

Contents

require 'rubygems'

gem 'jnunemaker-matchy', '>= 0.4.0'
gem 'jeremymcanally-context', '>= 0.5.5'

require 'test/unit'
require 'context'
require 'matchy'
require 'active_support'
require 'active_record'
require 'action_controller'
require 'action_controller/test_process'

ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :dbfile => 'test.sqlite3')

class Test::Unit::TestCase
  custom_matcher :be_false do |receiver, matcher, args|
    !receiver
  end
  
  custom_matcher :be_true do |receiver, matcher, args|
    !!receiver
  end
end

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

ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/debug.log")
ActionController::Base.logger = ActiveRecord::Base.logger

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
be9-acl9-0.11.0 test/test_helper.rb
trydionel-acl9-0.11.01 test/test_helper.rb
acl9-0.11.0 test/test_helper.rb