Merge pull request #7 from ivanov/no-html

make the JS test fail
This commit is contained in:
Matthias Bussonnier 2014-01-23 00:42:09 -08:00
commit da001113fa

View File

@ -12,9 +12,9 @@ casper.notebook_test(function () {
this.evaluate(function () {
var cell = IPython.notebook.get_cell(0);
var json = cell.toJSON()
json.prompt_number = "<script> alert('hello from input prompts !')</script>"
cell.fromJSON(j)
var json = cell.toJSON();
json.prompt_number = "<script> alert('hello from input prompts !')</script>";
cell.fromJSON(json);
});
this.then(function () {