Make the tests pass in ruby 1.9
This commit is contained in:
parent
bad615ef09
commit
bdd1e2de33
1
Rakefile
1
Rakefile
@ -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/*')
|
||||||
|
@ -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'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
require File.dirname(__FILE__)+'/test_helper'
|
require 'test_helper'
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
require 'compass'
|
require 'compass'
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
require File.dirname(__FILE__)+'/test_helper'
|
require 'test_helper'
|
||||||
require 'compass'
|
require 'compass'
|
||||||
require 'stringio'
|
require 'stringio'
|
||||||
|
|
||||||
|
@ -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'
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user