Skip to content
Browse files

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.
  • Loading branch information...
1 parent 10168fe commit 42bb5563292d17a0ae36e70af29e155c38d8f618 @dbussink dbussink committed with chriseppstein Jul 3, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/units/configuration_test.rb
View
4 test/units/configuration_test.rb
@@ -101,7 +101,7 @@ def test_additional_import_paths
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 @@ def test_config_with_pathname
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]

0 comments on commit 42bb556

Please sign in to comment.
Something went wrong with that request. Please try again.