From c29dc1a940950b558eae92ba976e2c2c5aceab58 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 22 Apr 2010 22:48:48 -0700 Subject: fixed wrong tests which did not have matched tags --- test/widgetsSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/widgetsSpec.js b/test/widgetsSpec.js index 5b1e7b8e..b38ca2a1 100644 --- a/test/widgetsSpec.js +++ b/test/widgetsSpec.js @@ -243,7 +243,7 @@ describe("widget", function(){ }); it("should match urls", function(){ - var scope = angular.compile('
{{params.name}}
'); + var scope = angular.compile('
{{params.name}}
'); scope.url = '/Book/Moby'; scope.$init(); expect(scope.$element.text()).toEqual('Moby'); @@ -256,7 +256,7 @@ describe("widget", function(){ }); it('should call init on switch', function(){ - var scope = angular.compile('
{{name}}
'); + var scope = angular.compile('
{{name}}
'); var cleared = false; scope.url = 'a'; scope.$invalidWidgets = {clearOrphans: function(){ -- cgit v1.2.3