14 lines
501 B
Ruby
14 lines
501 B
Ruby
require 'rubygems'
|
|
require 'merb-core'
|
|
require 'spec' # Satisfies Autotest and anyone else not using the Rake tasks
|
|
|
|
# this loads all plugins required in your init file so don't add them
|
|
# here again, Merb will do it for you
|
|
Merb.start_environment(:testing => true, :adapter => 'runner', :environment => ENV['MERB_ENV'] || 'test')
|
|
|
|
Spec::Runner.configure do |config|
|
|
config.include(Merb::Test::ViewHelper)
|
|
config.include(Merb::Test::RouteHelper)
|
|
config.include(Merb::Test::ControllerHelper)
|
|
end
|