mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
13 lines
314 B
Ruby
13 lines
314 B
Ruby
lib_dir = File.dirname(__FILE__) + '/../lib'
|
|
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
|
|
unless defined? RAILS_ROOT
|
|
RAILS_ROOT = '.'
|
|
MERB_ENV = RAILS_ENV = 'testing'
|
|
end
|