|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
//-- copyright
|
|
|
|
|
// -- copyright
|
|
|
|
|
// OpenProject is a project management system.
|
|
|
|
|
// Copyright (C) 2012-2015 the OpenProject Foundation (OPF)
|
|
|
|
|
//
|
|
|
|
@ -24,7 +24,7 @@ |
|
|
|
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
//
|
|
|
|
|
// See doc/COPYRIGHT.rdoc for more details.
|
|
|
|
|
//++
|
|
|
|
|
// ++
|
|
|
|
|
|
|
|
|
|
/*jshint expr: true*/ |
|
|
|
|
|
|
|
|
@ -32,11 +32,11 @@ describe('workPackageGroupHeader Directive', function() { |
|
|
|
|
var compile, element, rootScope, scope; |
|
|
|
|
|
|
|
|
|
beforeEach(angular.mock.module('openproject.workPackages.directives')); |
|
|
|
|
beforeEach(module('openproject.templates')); |
|
|
|
|
beforeEach(angular.mock.module('openproject.templates')); |
|
|
|
|
|
|
|
|
|
beforeEach(inject(function($rootScope, $compile) { |
|
|
|
|
var html; |
|
|
|
|
html = '<tr work-package-group-header><td>{{ row["group_name"] }}</td></tr>'; |
|
|
|
|
html = '<tr wp-group-header><td>{{ row["group_name"] }}</td></tr>'; |
|
|
|
|
|
|
|
|
|
element = angular.element(html); |
|
|
|
|
rootScope = $rootScope; |