From 5e55d3cc2c563647e08c3c6d2ff4ba2c7a681de9 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 27 Dec 2014 17:32:36 +0100 Subject: [PATCH] working importing of weird lis --- tests/backend/specs/api/pad.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/backend/specs/api/pad.js b/tests/backend/specs/api/pad.js index 5ee6bdd8f..b2b31c96d 100644 --- a/tests/backend/specs/api/pad.js +++ b/tests/backend/specs/api/pad.js @@ -293,8 +293,8 @@ describe('setHTML', function(){ }) describe('setHTML', function(){ - it('Sets the HTML of a Pad attempting to pass ugly HTML', function(done) { - var html = ""; + it('Sets the HTML of a Pad with a bunch of weird unordered lists inserted', function(done) { + var html = "
"; api.get(endPoint('setHTML')+"&padID=test&html="+html) .expect(function(res){ if(res.body.code !== 0) throw new Error("List HTML cant be imported")