1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/middleman-core/features/coffee-script.feature
Thomas Reynolds f945bbad84
Refactor resource reducer (#2216)
* Refactor some resource reducer

* Refresh caches after metadata change

* Avoid over-clearing cache

* Fix contract

* Re-enable fast fail

* typo

* Hash back

* n/m

* Signal page_id change on routing info

* Disable ready callback changes

* Update directory_indexes.rb
2018-11-08 11:28:48 -08:00

22 lines
No EOL
838 B
Gherkin

Feature: Support coffee-script
In order to offer an alternative when writing JavaScript
Scenario: Rendering coffee script
Given the Server is running at "coffeescript-app"
When I go to "/javascripts/coffee_test.js"
Then I should see ".slice"
Scenario: Rendering coffee-script with :coffeescript haml-filter
Given the Server is running at "coffeescript-app"
When I go to "/inline-coffeescript.html"
Then I should see ".slice"
Scenario: Rendering broken coffee
Given the Server is running at "coffeescript-app"
When I go to "/javascripts/broken-coffee.js"
Then I should see "reserved word"
Scenario: Building broken coffee
Given a built app at "coffeescript-app"
Then the output should contain "error build/javascripts/broken-coffee.js"
Then the exit status should not be 0