fixed features to be more lieniet on sprite hashes
This commit is contained in:
parent
64d0787ce2
commit
387a2ffe1f
@ -7,7 +7,7 @@ GIT
|
|||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
compass (0.12.0.alpha.0.c79e997)
|
compass (0.12.0.alpha.0.64d0787)
|
||||||
chunky_png (~> 1.2)
|
chunky_png (~> 1.2)
|
||||||
fssm (>= 0.2.7)
|
fssm (>= 0.2.7)
|
||||||
sass (~> 3.1)
|
sass (~> 3.1)
|
||||||
|
@ -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-s03c3b29b35.png |
|
| images/flag-s*.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-s03c3b29b35.png |
|
| images/flag-s*.png |
|
||||||
|
|
||||||
Scenario: Watching a project for changes
|
Scenario: Watching a project for changes
|
||||||
Given ruby supports fork
|
Given ruby supports fork
|
||||||
|
@ -133,12 +133,21 @@ 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
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user