Make the tests pass in ruby 1.9

This commit is contained in:
Chris Eppstein 2009-11-19 02:26:35 -08:00
parent bad615ef09
commit bdd1e2de33
6 changed files with 10 additions and 9 deletions

View File

@ -25,6 +25,7 @@ require 'fileutils'
Rake::TestTask.new :run_tests do |t| Rake::TestTask.new :run_tests do |t|
t.libs << 'lib' t.libs << 'lib'
t.libs << 'test'
t.libs << 'haml/lib' if ENV["RUN_CODE_RUN"] t.libs << 'haml/lib' if ENV["RUN_CODE_RUN"]
test_files = FileList['test/**/*_test.rb'] test_files = FileList['test/**/*_test.rb']
test_files.exclude('test/rails/*', 'test/haml/*') test_files.exclude('test/rails/*', 'test/haml/*')

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__)+'/test_helper' require 'test_helper'
require 'fileutils' require 'fileutils'
require 'compass' require 'compass'
require 'compass/exec' require 'compass/exec'

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__)+'/test_helper' require 'test_helper'
require 'fileutils' require 'fileutils'
require 'compass' require 'compass'

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__)+'/test_helper' require 'test_helper'
require 'compass' require 'compass'
require 'stringio' require 'stringio'

View File

@ -1,4 +1,4 @@
require File.join(File.dirname(__FILE__),'test_helper') require 'test_helper'
require 'fileutils' require 'fileutils'
require 'compass' require 'compass'
require 'compass/exec' require 'compass/exec'

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__)+'/test_helper' require 'test_helper'
class SassExtensionsTest < Test::Unit::TestCase class SassExtensionsTest < Test::Unit::TestCase
def test_simple def test_simple