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|
|
||||
t.libs << 'lib'
|
||||
t.libs << 'test'
|
||||
t.libs << 'haml/lib' if ENV["RUN_CODE_RUN"]
|
||||
test_files = FileList['test/**/*_test.rb']
|
||||
test_files.exclude('test/rails/*', 'test/haml/*')
|
||||
|
@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__)+'/test_helper'
|
||||
require 'test_helper'
|
||||
require 'fileutils'
|
||||
require 'compass'
|
||||
require 'compass/exec'
|
||||
@ -64,4 +64,4 @@ class CommandLineTest < Test::Unit::TestCase
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__)+'/test_helper'
|
||||
require 'test_helper'
|
||||
require 'fileutils'
|
||||
require 'compass'
|
||||
|
||||
@ -129,4 +129,4 @@ private
|
||||
File.join(project_path(project_name), "saved")
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__)+'/test_helper'
|
||||
require 'test_helper'
|
||||
require 'compass'
|
||||
require 'stringio'
|
||||
|
||||
@ -120,4 +120,4 @@ EXPECTED
|
||||
assert_equal expected_serialization, Compass.configuration.serialize
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
@ -1,4 +1,4 @@
|
||||
require File.join(File.dirname(__FILE__),'test_helper')
|
||||
require 'test_helper'
|
||||
require 'fileutils'
|
||||
require 'compass'
|
||||
require 'compass/exec'
|
||||
|
@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__)+'/test_helper'
|
||||
require 'test_helper'
|
||||
|
||||
class SassExtensionsTest < Test::Unit::TestCase
|
||||
def test_simple
|
||||
@ -28,4 +28,4 @@ protected
|
||||
options = arguments.last.is_a?(Hash) ? arguments.pop : Hash.new
|
||||
evaluation_content(options).nest(*arguments.map{|a| Sass::Script::String.new(a)}).to_s
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user