Remove obsolete code in the test helper.
This commit is contained in:
parent
98035eea07
commit
6be55d55e5
@ -82,7 +82,11 @@ class CompassTest < Test::Unit::TestCase
|
||||
end
|
||||
def with_templates(folder)
|
||||
old_template_loc = Sass::Plugin.options[:template_location]
|
||||
Sass::Plugin.options[:template_location] = old_template_loc.dup
|
||||
Sass::Plugin.options[:template_location] = if old_template_loc.is_a?(Hash)
|
||||
old_template_loc.dup
|
||||
else
|
||||
Hash.new
|
||||
end
|
||||
@current_template_folder = folder
|
||||
begin
|
||||
Sass::Plugin.options[:template_location][template_loc(folder)] = tempfile_loc(folder)
|
||||
|
@ -31,7 +31,3 @@ require 'sass/plugin'
|
||||
|
||||
|
||||
require 'test/unit'
|
||||
|
||||
Sass::Plugin.options[:template_location] = {
|
||||
"#{File.dirname(__FILE__)}/../src" => "#{File.dirname(__FILE__)}/tmp/blueprint"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user