From 3f72a549d37f3a37b7ab9504df3bc683351008d5 Mon Sep 17 00:00:00 2001
From: Scott Davis <jetviper21@gmail.com>
Date: Tue, 26 Jul 2011 14:59:08 -0400
Subject: [PATCH] fixed sprite hash in features

---
 Gemfile.lock                                    | 2 +-
 features/command_line.feature                   | 4 ++--
 features/step_definitions/command_line_steps.rb | 8 --------
 3 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/Gemfile.lock b/Gemfile.lock
index ec726def..8881495a 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -7,7 +7,7 @@ GIT
 PATH
   remote: .
   specs:
-    compass (0.12.0.alpha.0.64d0787)
+    compass (0.12.0.alpha.0.387a2ff)
       chunky_png (~> 1.2)
       fssm (>= 0.2.7)
       sass (~> 3.1)
diff --git a/features/command_line.feature b/features/command_line.feature
index a783281e..fd2b374c 100644
--- a/features/command_line.feature
+++ b/features/command_line.feature
@@ -200,7 +200,7 @@ Feature: Command Line
       | tmp/box_shadow.css          |
       | tmp/columns.css             |
       | tmp/fonts.css               |
-      | images/flag-s*.png |
+      | images/flag-s8c3c755a68.png |
     And the following files are removed:
       | .sass-cache/                |
       | tmp/border_radius.css       |
@@ -208,7 +208,7 @@ Feature: Command Line
       | tmp/box_shadow.css          |
       | tmp/columns.css             |
       | tmp/fonts.css               |
-      | images/flag-s*.png |
+      | images/flag-s8c3c755a68.png |
 
   Scenario: Watching a project for changes
     Given ruby supports fork
diff --git a/features/step_definitions/command_line_steps.rb b/features/step_definitions/command_line_steps.rb
index 37b0896d..412cabfb 100644
--- a/features/step_definitions/command_line_steps.rb
+++ b/features/step_definitions/command_line_steps.rb
@@ -134,20 +134,12 @@ end
 Then "the following files are reported removed:" do |table|
   table.rows.each do |css_file|
     #need to find a better way but this works for now
-    if css_file.first.include?('flag-s')
-      css_file[0] = Dir[css_file.first].sort.first
-      puts css_file[0] = Dir[css_file.first].sort.first
-    end
     Then %Q{a css file #{css_file.first} is reported removed}
   end
 end
 
 Then "the following files are removed:" do |table|
   table.rows.each do |css_file|
-    #need to find a better way but this works for now
-    if css_file.first.include?('flag-s')
-      css_file[0] = Dir[css_file.first].sort.first
-    end
     Then %Q{a css file #{css_file.first} is removed}
   end
 end