cleanup
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 20 Jan 2013 21:42:01 +0000 (22:42 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 20 Jan 2013 21:42:01 +0000 (22:42 +0100)
test/unit/directivesSpec.js

index e4b3545..f2ccb87 100644 (file)
@@ -19,15 +19,13 @@ describe('directives', function() {
 
   describe('my-input', function() {
     it('div+label+input', function() {
-      module(function($provide) {
-        $provide.value('version', 'TEST_VER');
-      });
       inject(function($compile, $rootScope) {
         var element = $compile('<div><input class="my-input" ng-model="m" placeholder="p"></input></div>')($rootScope);
-               dump(element.html());
-               console.log( element );
-        expect(element.html()).toMatch(/div.*label.*input.*div/);
+//             dump(element.html());
+//             console.log( element );
+        expect(element.html()).toMatch(/div.*label.*input.*div/i);
       });
     });
   });
+
 });