From cf14dee79006d3448b8ea07ee18a35f1e96c8a05 Mon Sep 17 00:00:00 2001 From: stv Date: Thu, 5 Jun 2014 12:49:34 -0700 Subject: [PATCH] Fix JSInput test fixture Clean up fixtures automatically between tests - Nesting test fixture markup within a DIV allows Jasmine to automatically restore the fixture to a clean state between each test run. Fix id attribute collision typo - This looks like a copy/pasta gone wrong; the two test INPUT elements were both declared with the same id, `input_1`. Remove trailing whitespace --- common/static/js/capa/fixtures/jsinput.html | 31 +++++++++++---------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/common/static/js/capa/fixtures/jsinput.html b/common/static/js/capa/fixtures/jsinput.html index 87feaaaffe..1862d490c3 100644 --- a/common/static/js/capa/fixtures/jsinput.html +++ b/common/static/js/capa/fixtures/jsinput.html @@ -1,5 +1,6 @@ +
- +
- \ No newline at end of file + + +