$TESTING=true
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require "rubygems"
require "merb-core"
require "spec"

require "merb-haml"
require File.dirname(__FILE__) / "controllers" / "haml"

Merb.start :environment => 'test', :haml => { "autoclose" => ["foo"] }

Spec::Runner.configure do |config|
  config.include Merb::Test::RequestHelper  
end

$TESTING=true
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require "rubygems"
require "merb-core"
require "spec"

require "merb-haml"
require File.dirname(__FILE__) / "controllers" / "haml"

Merb::Plugins.config[:haml] = { "autoclose" => ["foo"] }
Merb.start :environment => 'test'

Spec::Runner.configure do |config|
  config.include Merb::Test::RequestHelper  
end

Fix merb-haml spec to pull proper config
Fix merb-haml spec to pull proper config

Signed-off-by: Ezra Zygmuntowicz <4aca359fa1b78e51bc8226c4f161d16fdc1e21c8@engineyard.com>
