fixed sprite hash in features

This commit is contained in:
Scott Davis 2011-07-26 14:59:08 -04:00
parent 387a2ffe1f
commit 3f72a549d3
3 changed files with 3 additions and 11 deletions

View File

@ -7,7 +7,7 @@ GIT
PATH PATH
remote: . remote: .
specs: specs:
compass (0.12.0.alpha.0.64d0787) compass (0.12.0.alpha.0.387a2ff)
chunky_png (~> 1.2) chunky_png (~> 1.2)
fssm (>= 0.2.7) fssm (>= 0.2.7)
sass (~> 3.1) sass (~> 3.1)

View File

@ -200,7 +200,7 @@ Feature: Command Line
| tmp/box_shadow.css | | tmp/box_shadow.css |
| tmp/columns.css | | tmp/columns.css |
| tmp/fonts.css | | tmp/fonts.css |
| images/flag-s*.png | | images/flag-s8c3c755a68.png |
And the following files are removed: And the following files are removed:
| .sass-cache/ | | .sass-cache/ |
| tmp/border_radius.css | | tmp/border_radius.css |
@ -208,7 +208,7 @@ Feature: Command Line
| tmp/box_shadow.css | | tmp/box_shadow.css |
| tmp/columns.css | | tmp/columns.css |
| tmp/fonts.css | | tmp/fonts.css |
| images/flag-s*.png | | images/flag-s8c3c755a68.png |
Scenario: Watching a project for changes Scenario: Watching a project for changes
Given ruby supports fork Given ruby supports fork

View File

@ -134,20 +134,12 @@ end
Then "the following files are reported removed:" do |table| Then "the following files are reported removed:" do |table|
table.rows.each do |css_file| table.rows.each do |css_file|
#need to find a better way but this works for now #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} Then %Q{a css file #{css_file.first} is reported removed}
end end
end end
Then "the following files are removed:" do |table| Then "the following files are removed:" do |table|
table.rows.each do |css_file| 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} Then %Q{a css file #{css_file.first} is removed}
end end
end end