From 2430f52bb97fa9d682e5f028c977c5bf94c5ec38 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 23 Mar 2012 14:03:24 -0700 Subject: chore(module): move files around in preparation for more modules --- test/directive/ngEventDirsSpec.js | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 test/directive/ngEventDirsSpec.js (limited to 'test/directive/ngEventDirsSpec.js') diff --git a/test/directive/ngEventDirsSpec.js b/test/directive/ngEventDirsSpec.js deleted file mode 100644 index c42f9b26..00000000 --- a/test/directive/ngEventDirsSpec.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -describe('event directives', function() { - var element; - - - afterEach(function() { - dealoc(element); - }); - - - describe('ng-submit', function() { - - it('should get called on form submit', inject(function($rootScope, $compile) { - element = $compile('
' + - '' + - '
')($rootScope); - $rootScope.$digest(); - expect($rootScope.submitted).not.toBeDefined(); - - browserTrigger(element.children()[0]); - expect($rootScope.submitted).toEqual(true); - })); - }); -}); -- cgit v1.2.3