diff --git a/test/sass_test.rb b/test/sass_test.rb index c46f5a12..f94859ca 100644 --- a/test/sass_test.rb +++ b/test/sass_test.rb @@ -1,6 +1,7 @@ require File.expand_path('../helper', __FILE__) begin +raise LoadError, 'sass not supported on Ruby 2.0' if RUBY_VERSION >= '2.0' require 'sass' class SassTest < Test::Unit::TestCase diff --git a/test/scss_test.rb b/test/scss_test.rb index 2b64a2c0..ac2d249c 100644 --- a/test/scss_test.rb +++ b/test/scss_test.rb @@ -1,6 +1,7 @@ require File.expand_path('../helper', __FILE__) begin +raise LoadError, 'sass not supported on Ruby 2.0' if RUBY_VERSION >= '2.0' require 'sass' class ScssTest < Test::Unit::TestCase