2013-01-13 18:22:36 -05:00
|
|
|
Feature: SASS .sass-cache custom location
|
2012-07-16 02:39:26 -04:00
|
|
|
|
2013-01-13 18:22:36 -05:00
|
|
|
Scenario: Using the default location for .sass-cache folder
|
2012-07-16 02:39:26 -04:00
|
|
|
Given the Server is running at "sass-cache-path-default-app"
|
|
|
|
|
|
|
|
When I go to "/stylesheets/plain.css"
|
|
|
|
Then I should see "color: blue;"
|
|
|
|
|
|
|
|
# TODO::
|
|
|
|
# Not sure how to test this location, as the directory is stored outside of the app root
|
|
|
|
# during testing, but inside app root in "production"
|
|
|
|
|
2013-01-13 18:22:36 -05:00
|
|
|
# Then a directory named ".sass-cache" should exist
|
2012-07-16 02:39:26 -04:00
|
|
|
|
|
|
|
|
2013-01-13 18:22:36 -05:00
|
|
|
Scenario: Using a custom location for .sass-cache folder
|
2012-07-16 02:39:26 -04:00
|
|
|
Given the Server is running at "sass-cache-path-custom-app"
|
|
|
|
|
|
|
|
When I go to "/stylesheets/plain.css"
|
|
|
|
Then I should see "html, body, div, span, applet, object, iframe,"
|
|
|
|
|
2013-05-08 14:37:55 -04:00
|
|
|
Then a directory named "/tmp/middleman-core-custom-sass_cache_path" should exist
|