middleman/features/coffee-script.feature

12 lines
442 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
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
When I go to "/inline-coffeescript.html"
Then I should see "Array.prototype.slice"