middleman/middleman-more/features/coffee-script.feature
Thomas Reynolds baac8a31f4 fix CS test
2012-04-12 11:16:24 -07:00

17 lines
628 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 "Error"