#951 #999 add missing dependency injection to unit test, fix misc styles

This commit is contained in:
Leigh Johnson 2016-02-25 09:43:20 -05:00
parent 6fa10deb8a
commit 28f693b7bd
4 changed files with 4 additions and 3 deletions

View File

@ -363,8 +363,9 @@ input[type='radio']:checked:before {
display: flex;
justify-content: flex-end;
}
.Form-button{
margin-left: 4px;
margin-left: 4px;
}
.Form-buttonDefault {

View File

@ -1,5 +1,5 @@
/*************************************************
* Copyright (c) 2015 Ansible, Inc.
* Copyright (c) 2016 Ansible, Inc.
*
* All Rights Reserved
*************************************************/

View File

@ -860,7 +860,6 @@ export function InventoriesManage ($log, $scope, $rootScope, $location,
}
$rootScope.hostPatterns = host_patterns;
$state.go('inventoryManage.adhoc');
//$location.path('/inventories/' + $scope.inventory.id + '/adhoc');
};
$scope.refreshHostsOnGroupRefresh = false;

View File

@ -55,6 +55,7 @@ describe("adhoc.controller", function() {
$provide.value('Wait', waitCallback);
$provide.value('$stateExtender', stateExtenderCallback);
$provide.value('$stateParams', angular.noop);
$provide.value('$state', angular.noop);
}]));
beforeEach("put $q in scope", window.inject(['$q', function($q) {