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
|
@ -9,4 +9,9 @@ Feature: Support coffee-script
|
|||
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"
|
||||
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