Skip to content

Commit

Permalink
Fix some failing tests in ruby 1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Mar 12, 2011
1 parent 18a4644 commit ebec19e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions test/sass/functions_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ def _preceding_underscore
end
end

module Sass::Script::Functions
include Sass::Script::Functions::UserFunctions
end

class SassFunctionTest < Test::Unit::TestCase
# Tests taken from:
# http://www.w3.org/Style/CSS/Test/CSS3/Color/20070927/html4/t040204-hsl-h-rotating-b.htm
Expand Down
3 changes: 0 additions & 3 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
Sass::RAILS_LOADED = true unless defined?(Sass::RAILS_LOADED)

module Sass::Script::Functions
module UserFunctions; end
include UserFunctions

def option(name)
Sass::Script::String.new(@options[name.value.to_sym].to_s)
end
Expand Down

0 comments on commit ebec19e

Please sign in to comment.