Fix test failure in ruby 1.9.2

This commit is contained in:
Chris Eppstein 2010-10-11 01:51:53 -07:00
parent 0a07211286
commit 03ebd5dd98
2 changed files with 4 additions and 2 deletions

View File

@ -7,11 +7,13 @@ output_style = :compact
# To enable relative image paths using the images_url() function: # To enable relative image paths using the images_url() function:
# http_images_path = :relative # http_images_path = :relative
http_images_path = "/images" http_images_path = "/images"
line_comments = false
asset_cache_buster do |path, file| asset_cache_buster do |path, file|
"busted=true" "busted=true"
end end
asset_host do |path| asset_host do |path|
"http://assets%d.example.com" % (path.hash % 4) "http://assets%d.example.com" % (path.size % 4)
end end

View File

@ -1,3 +1,3 @@
.showgrid { background-image: url('http://assets2.example.com/images/grid.png?busted=true'); } .showgrid { background-image: url('http://assets0.example.com/images/grid.png?busted=true'); }
.inlinegrid { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAUEAYAAACv1qP4AAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAZ0lEQVRYw+3QwQ2AIBAFUTEUwI3+uzN7gDscsIgxEuO8An52J11X73OudfxMraXkzHfO3Y98nQEhA0IGhAwIGRAyIGRAyICQASEDQgaEDAgZEDIgZEDIgJABoZzSGK3tPuN9ERFP7Nw4fg+c5g8V1wAAAABJRU5ErkJggg=='); } .inlinegrid { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAUEAYAAACv1qP4AAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAZ0lEQVRYw+3QwQ2AIBAFUTEUwI3+uzN7gDscsIgxEuO8An52J11X73OudfxMraXkzHfO3Y98nQEhA0IGhAwIGRAyIGRAyICQASEDQgaEDAgZEDIgZEDIgJABoZzSGK3tPuN9ERFP7Nw4fg+c5g8V1wAAAABJRU5ErkJggg=='); }