add test to confirm coffee errors show correctly
This commit is contained in:
parent
7b333140a1
commit
f585a11d66
2 changed files with 9 additions and 1 deletions
|
@ -10,3 +10,8 @@ Feature: Support coffee-script
|
||||||
Given the Server is running
|
Given the Server is running
|
||||||
When I go to "/inline-coffeescript.html"
|
When I go to "/inline-coffeescript.html"
|
||||||
Then I should see "Array.prototype.slice"
|
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"
|
|
@ -0,0 +1,3 @@
|
||||||
|
function test() {
|
||||||
|
hello
|
||||||
|
}
|
Loading…
Reference in a new issue