Revision 6242a73b
Added by Eric Helms about 10 years ago
engines/bastion/test/content-views/details/content-view-publish.controller.test.js | ||
---|---|---|
/**
|
||
* Copyright 2013 Red Hat, Inc.
|
||
* Copyright 2014 Red Hat, Inc.
|
||
*
|
||
* This software is licensed to you under the GNU General Public
|
||
* License as published by the Free Software Foundation; either version
|
||
... | ... | |
|
||
beforeEach(inject(function($injector) {
|
||
var $controller = $injector.get('$controller'),
|
||
ContentView = $injector.get('MockResource').$new();
|
||
ContentView = $injector.get('MockResource').$new(),
|
||
gettext = $injector.get('gettextMock');
|
||
|
||
$scope = $injector.get('$rootScope').$new();
|
||
|
||
... | ... | |
spyOn($scope, 'transitionTo');
|
||
|
||
$controller('ContentViewPublishController', {
|
||
$scope: $scope
|
||
$scope: $scope,
|
||
gettext: gettext
|
||
});
|
||
}));
|
||
|
Also available in: Unified diff
Content Views: Adding filter UI support for Packages, Errata and Package groups.