From: Dobrica Pavlinusic Date: Sun, 20 Jan 2013 21:42:01 +0000 (+0100) Subject: cleanup X-Git-Tag: 0.6~8 X-Git-Url: http://git.rot13.org/?p=angular-drzb;a=commitdiff_plain;h=97c3eddeca7d9b7722555a70343600b08106130f cleanup --- diff --git a/test/unit/directivesSpec.js b/test/unit/directivesSpec.js index e4b3545..f2ccb87 100644 --- a/test/unit/directivesSpec.js +++ b/test/unit/directivesSpec.js @@ -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('
')($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); }); }); }); + });