From 97548d4f0190e07d78a71de28b4787d21e87480b Mon Sep 17 00:00:00 2001 From: James MacAulay Date: Thu, 4 Feb 2010 10:57:14 -0500 Subject: [PATCH] shopify performance tests: add 'compact' size to product_img_url filter --- performance/shopify/shop_filter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/performance/shopify/shop_filter.rb b/performance/shopify/shop_filter.rb index 90d2e39..c62070a 100644 --- a/performance/shopify/shop_filter.rb +++ b/performance/shopify/shop_filter.rb @@ -61,10 +61,10 @@ module ShopFilter case style when 'original' return '/files/shops/random_number/' + url - when 'grande', 'large', 'medium', 'small', 'thumb', 'icon' + when 'grande', 'large', 'medium', 'compact', 'small', 'thumb', 'icon' "/files/shops/random_number/products/#{$1}_#{style}.#{$2}" else - raise ArgumentError, 'valid parameters for filter "size" are: original, grande, large, medium, small, thumb and icon ' + raise ArgumentError, 'valid parameters for filter "size" are: original, grande, large, medium, compact, small, thumb and icon ' end end