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

Slight test modifications.

git-svn-id: svn://hamptoncatlin.com/haml/trunk@280 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
nex3 2007-01-07 04:08:48 +00:00
parent ebd10ce625
commit 62f4e6021c
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,9 @@ require 'sass/engine'
require 'rubygems'
require 'action_controller'
RAILS_ROOT |= '.'
RAILS_ENV |= 'production'
module Sass
# This module contains methods that ActionController calls
# to automatically update Sass templates that need updating.

View file

@ -3,7 +3,6 @@
require 'test/unit'
require File.dirname(__FILE__) + '/../../lib/sass'
RAILS_ROOT = ''
RAILS_ENV = 'testing'
require 'sass/plugin'
@ -14,7 +13,7 @@ class SassPluginTest < Test::Unit::TestCase
def setup
Sass::Plugin.options[:template_location] = File.dirname(__FILE__) + '/templates'
Sass::Plugin.options[:css_location] = File.dirname(__FILE__) + '/tmp'
Sass::Plugin.options = {:always_update => true}
Sass::Plugin.options[:always_update] = true
Sass::Plugin.update_stylesheets
end