From 42bb5563292d17a0ae36e70af29e155c38d8f618 Mon Sep 17 00:00:00 2001 From: Dirkjan Bussink Date: Sun, 3 Jul 2011 21:46:46 +0200 Subject: [PATCH] Fix failing test when updating to latest SASS This makes rake test green on Rubinius, 1.8.7 and 1.9.2. Removed the Gemfile.lock in the previous version so everything can be updated. Closes GH-456. --- test/units/configuration_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/units/configuration_test.rb b/test/units/configuration_test.rb index 792df86d..5be7b3c2 100644 --- a/test/units/configuration_test.rb +++ b/test/units/configuration_test.rb @@ -101,7 +101,7 @@ class ConfigurationTest < Test::Unit::TestCase plugin_opts = Compass.configuration.to_sass_plugin_options - assert load_paths.include?("/home/chris/my_compass_project/../foo") + assert load_paths.include?("/home/chris/foo") assert load_paths.include?("/path/to/my/framework"), load_paths.inspect assert_equal "/home/chris/my_compass_project/css/framework", plugin_opts[:template_location].find{|s,c| s == "/path/to/my/framework"}[1] assert_equal "/home/chris/my_compass_project/css/foo", plugin_opts[:template_location].find{|s,c| s == "/home/chris/my_compass_project/../foo"}[1] @@ -141,7 +141,7 @@ EXPECTED load_paths = load_paths_as_strings(Compass.configuration.to_sass_engine_options[:load_paths]) - assert load_paths.include?("/home/chris/my_compass_project/../foo") + assert load_paths.include?("/home/chris/foo") assert load_paths.include?("/path/to/my/framework"), load_paths.inspect assert_equal "/home/chris/my_compass_project/css/framework", Compass.configuration.to_sass_plugin_options[:template_location].find{|s,c| s == "/path/to/my/framework"}[1] assert_equal "/home/chris/my_compass_project/css/foo", Compass.configuration.to_sass_plugin_options[:template_location].find{|s,c| s == "/home/chris/my_compass_project/../foo"}[1]