Sha256: 0f444ed35c73dcca8ca255d07cf281c94e51bec0a73a805fd50a25107e80292b

Contents?: true

Size: 777 Bytes

Versions: 3

Compression:

Stored size: 777 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 & 2 rubygems

Version Path
ktopping_acl9-0.13.0 test/test_helper.rb
ktopping_acl9-0.12.0 test/test_helper.rb
acl9-0.12.0 test/test_helper.rb