middleman/features/coffee-script.feature

17 lines
634 B
Gherkin
Raw Normal View History

Feature: Support coffee-script
In order to offer an alternative when writing Javascript
2011-05-22 17:27:39 +02:00
Scenario: Rendering coffee script
Given the Server is running at "test-app"
When I go to "/javascripts/coffee_test.js"
2011-05-22 17:27:39 +02:00
Then I should see "Array.prototype.slice"
Scenario: Rendering coffee-script with :coffeescript haml-filter
Given the Server is running at "test-app"
2011-05-22 17:27:39 +02:00
When I go to "/inline-coffeescript.html"
Then I should see "Array.prototype.slice"
Scenario: Rendering broken coffee
Given the Server is running at "test-app"
When I go to "/javascripts/broken-coffee.js"
2011-12-21 02:15:26 +01:00
Then I should see "Error"