test/test_helper.rb in liquid_cms-0.2.0.4 vs test/test_helper.rb in liquid_cms-0.2.0.5
- old
+ new
@@ -3,15 +3,9 @@
$:.unshift File.dirname(__FILE__)
require "rails_app/config/environment"
require 'test_help'
-if ENV['NO_CONTEXT'] == 'true'
- Cms.setup do |config|
- config.context_class = nil
- end
-end
-
ActiveRecord::Migration.verbose = false
ActiveRecord::Base.logger = Logger.new(nil)
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
ActiveRecord::Migrator.migrate(File.join(File.dirname(__FILE__), "rails_app/db/migrate/"), nil)