Permalink
Browse files

[Rails] If it exists, the compass test case should inherit from Activ…

…eSupport::TestCase.
  • Loading branch information...
chriseppstein committed Jul 7, 2009
1 parent 86e5eca commit 71d5ae8544d1c5ae49e28dcd6b3768fc39d7f01c
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/compass/test_case.rb
View
@@ -15,8 +15,10 @@ module Compass
# Dir.glob(File.expand_path(File.join(File.dirname(__FILE__), "../..", "app/stylesheets/**/[^_]*.sass")))
# end
# end
class TestCase < Test::Unit::TestCase
class TestCase < (defined?(ActiveSupport::TestCase) ? ActiveSupport::TestCase : Test::Unit::TestCase)
def setup
super
@last_compile = nil
end

0 comments on commit 71d5ae8

Please sign in to comment.