1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/features/coffee-script.feature

17 lines
642 B
Gherkin
Raw Normal View History

Feature: Support coffee-script
In order to offer an alternative when writing Javascript
2011-05-22 11:27:39 -04:00
Scenario: Rendering coffee script
Given the Server is running at "test-app"
When I go to "/javascripts/coffee_test.js"
2011-05-22 11:27:39 -04: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 11:27:39 -04: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"
Then I should see "Reserved word"