test/test_helper.rb in sprockets-0.9.0 vs test/test_helper.rb in sprockets-0.9.1
- old
+ new
@@ -22,10 +22,10 @@
def source_directories_in_fixtures_path
Dir[File.join(FIXTURES_PATH, "**", "src")]
end
def assert_absolute_location(location, pathname)
- assert_equal location, pathname.absolute_location
+ assert_equal File.expand_path(location), pathname.absolute_location
end
def assert_absolute_location_ends_with(location_ending, pathname)
assert pathname.absolute_location[/#{Regexp.escape(location_ending)}$/]
end