From 976859632fcd277ea72471b17b3631ca7cc63e1c Mon Sep 17 00:00:00 2001 From: Michel Felipe Date: Tue, 5 May 2015 15:47:47 -0300 Subject: [PATCH] Refactor html jasmine runner to include requirejs-config.js paths mapper --- test/SpecRunner.html | 126 ++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------- test/spec/MainSpec.js | 3 +-- 2 files changed, 45 insertions(+), 84 deletions(-) diff --git a/test/SpecRunner.html b/test/SpecRunner.html index ad89373..e9797fd 100644 --- a/test/SpecRunner.html +++ b/test/SpecRunner.html @@ -7,97 +7,59 @@ - - - - - - - - - - - + - + - - - diff --git a/test/spec/MainSpec.js b/test/spec/MainSpec.js index bf372ca..fecec1a 100644 --- a/test/spec/MainSpec.js +++ b/test/spec/MainSpec.js @@ -1,4 +1,4 @@ -define(['jasmine-boot', 'model/proposal-app'],function(jasmine, ProposalApp){ +define(['jasmine-boot', 'proposal_app'],function(jasmine, ProposalApp){ describe("Limit proposal voting to one per browser", function(){ it("Should register a proposal id", function(){ @@ -12,5 +12,4 @@ define(['jasmine-boot', 'model/proposal-app'],function(jasmine, ProposalApp){ }); - }); -- libgit2 0.21.2