1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/test/test_helper.rb

14 lines
314 B
Ruby
Raw Normal View History

lib_dir = File.dirname(__FILE__) + '/../lib'
2008-10-27 10:19:52 -07:00
require File.dirname(__FILE__) + '/linked_rails'
require 'test/unit'
$:.unshift lib_dir unless $:.include?(lib_dir)
require 'haml'
require 'sass'
# required because of Sass::Plugin
2008-09-22 09:20:51 +02:00
unless defined? RAILS_ROOT
RAILS_ROOT = '.'
MERB_ENV = RAILS_ENV = 'testing'
2008-10-27 10:19:52 -07:00
end