From 327f542acf1a45f4b6627882aeb3d3bac3b4cd23 Mon Sep 17 00:00:00 2001 From: Chris Eppstein <chris@eppsteins.net> Date: Sun, 11 Jul 2010 15:00:02 -0700 Subject: [PATCH] Work around test failures due to timestamp changes. --- test/fixtures/stylesheets/compass/config.rb | 4 ++++ test/fixtures/stylesheets/compass/css/lists.css | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/test/fixtures/stylesheets/compass/config.rb b/test/fixtures/stylesheets/compass/config.rb index 4f5ba70d..141d3aed 100644 --- a/test/fixtures/stylesheets/compass/config.rb +++ b/test/fixtures/stylesheets/compass/config.rb @@ -8,3 +8,7 @@ output_style = :nested # http_images_path = :relative http_images_path = "/images" line_comments = false + +asset_cache_buster do |path, file| + "busted=true" +end diff --git a/test/fixtures/stylesheets/compass/css/lists.css b/test/fixtures/stylesheets/compass/css/lists.css index 1373fc93..7909e445 100644 --- a/test/fixtures/stylesheets/compass/css/lists.css +++ b/test/fixtures/stylesheets/compass/css/lists.css @@ -96,5 +96,5 @@ ul.pretty { margin-left: 0; } ul.pretty li { padding-left: 14px; - background: url('/images/4x6.png?1278693488') no-repeat 4px 7px; + background: url('/images/4x6.png?busted=true') no-repeat 4px 7px; list-style-type: none; }