This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
tuxbliki/spec/spec_helper.rb

13 lines
347 B
Ruby

$TESTING=true
require 'rubygems'
require 'merb-core'
Merb.start :environment => (ENV['MERB_ENV'] || 'test'),
:merb_root => File.join(File.dirname(__FILE__), ".." )
Spec::Runner.configure do |config|
config.include(Merb::Test::ViewHelper)
config.include(Merb::Test::RouteHelper)
config.include(Merb::Test::ControllerHelper)
end