Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: b019166ae3
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (24 sloc) 0.843 kb
$root = File.expand_path('../../', __FILE__)
require "#{$root}/lib/acts_as_archive/gems"
ActsAsArchive::Gems.require(:spec_first)
require 'framework_fixture'
FrameworkFixture.generate File.dirname(__FILE__) + '/fixtures'
ActsAsArchive::Gems.require(:spec)
if FrameworkFixture.framework
require 'rack/test'
else
ActsAsArchive::Gems.require(:spec_non_framework)
require 'active_support/dependencies'
require 'active_wrapper'
require "#{$root}/lib/acts_as_archive"
ActiveSupport::Dependencies.autoload_paths << "#{$root}/spec/fixtures/models"
ActiveSupport::Dependencies.autoload_paths << "#{$root}/spec/fixtures/helpers"
$db, $log, $mail = ActiveWrapper.setup(
:base => File.dirname(__FILE__),
:env => 'test'
)
$db.establish_connection
include VerifyHelper
end
Spec::Runner.configure do |config|
end
Jump to Line
Something went wrong with that request. Please try again.