Sha256: 32626318ce7f8aeff4445ecea20cd6c3e10797c38e93534d8be5832c593dcccb

Contents?: true

Size: 585 Bytes

Versions: 19

Compression:

Stored size: 585 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
require 'rails/all'
require 'cms-fortress'
require 'minitest/pride'
require 'minitest/reporters'

# test without creating a test database.
ActiveRecord::Base.establish_connection(
  :adapter => 'sqlite3',
  :database => ':memory:'
)

MiniTest::Reporters.use! [Minitest::Reporters::SpecReporter.new]

load File.dirname(__FILE__) + '/../db/schema.rb'

class ActiveSupport::TestCase
  fixtures :all
end

class ActionController::TestCase
  include Devise::TestHelpers
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
cms-fortress-1.3.15 test/test_helper.rb
cms-fortress-1.3.14 test/test_helper.rb
cms-fortress-1.3.13 test/test_helper.rb
cms-fortress-1.3.12 test/test_helper.rb
cms-fortress-1.3.11 test/test_helper.rb
cms-fortress-1.3.10 test/test_helper.rb
cms-fortress-1.3.9 test/test_helper.rb
cms-fortress-1.3.8 test/test_helper.rb
cms-fortress-1.3.7 test/test_helper.rb
cms-fortress-1.3.6 test/test_helper.rb
cms-fortress-1.3.5 test/test_helper.rb
cms-fortress-1.3.4 test/test_helper.rb
cms-fortress-1.3.3 test/test_helper.rb
cms-fortress-1.3.2 test/test_helper.rb
cms-fortress-1.3.1 test/test_helper.rb
cms-fortress-1.3.0 test/test_helper.rb
cms-fortress-1.3.0.rc3 test/test_helper.rb
cms-fortress-1.3.0.rc2 test/test_helper.rb
cms-fortress-1.3.0.rc1 test/test_helper.rb