add test to confirm coffee errors show correctly

This commit is contained in:
Thomas Reynolds 2011-07-23 21:10:19 -07:00
parent 7b333140a1
commit f585a11d66
2 changed files with 9 additions and 1 deletions

View file

@ -10,3 +10,8 @@ Feature: Support coffee-script
Given the Server is running
When I go to "/inline-coffeescript.html"
Then I should see "Array.prototype.slice"
Scenario: Rendering broken coffee
Given the Server is running
When I go to "/javascripts/broken-coffee.js"
Then I should see "Reserved word"

View file

@ -0,0 +1,3 @@
function test() {
hello
}