Grid image command tests
This commit is contained in:
parent
3e99fedab0
commit
bf043c572c
@ -153,4 +153,21 @@ Feature: Command Line
|
|||||||
And I touch sass/layout.sass
|
And I touch sass/layout.sass
|
||||||
And I wait 2 seconds
|
And I wait 2 seconds
|
||||||
And I shutdown the other process
|
And I shutdown the other process
|
||||||
And a css file tmp/layout.css is reported identical
|
Then a css file tmp/layout.css is reported identical
|
||||||
|
|
||||||
|
Scenario: Generating a grid image so that I can debug my grid alignments
|
||||||
|
Given I am using the existing project in test/fixtures/stylesheets/compass
|
||||||
|
When I run: compass grid-img 30+10x24
|
||||||
|
Then a png file images/grid.png is created
|
||||||
|
|
||||||
|
Scenario: Generating a grid image to a specified path with custom dimensions
|
||||||
|
Given I am using the existing project in test/fixtures/stylesheets/compass
|
||||||
|
When I run: compass grid-img 50+10x24 assets/wide_grid.png
|
||||||
|
Then a directory assets is created
|
||||||
|
Then a png file assets/wide_grid.png is created
|
||||||
|
|
||||||
|
Scenario: Generating a grid image with invalid dimensions
|
||||||
|
Given I am using the existing project in test/fixtures/stylesheets/compass
|
||||||
|
When I run: compass grid-img 50x24 assets/wide_grid.png
|
||||||
|
Then a directory assets is not created
|
||||||
|
And a png file assets/wide_grid.png is not created
|
||||||
|
Loading…
Reference in New Issue
Block a user