Commit c48da9b5 by carl bergquist

fix(tests): fix broken unittest due to merge conflict

parent 12d65bfd
......@@ -41,7 +41,6 @@ function (angular, _, config) {
$scope.dashboard.addPanel(panel, $scope.row);
};
$scope.deleteRow = function() {
function delete_row() {
$scope.dashboard.rows = _.without($scope.dashboard.rows, $scope.row);
......
......@@ -19,7 +19,7 @@ define([
ctx.scope.row = ctx.scope.dashboard.rows[0];
ctx.scope.appEvent = sinon.spy();
ctx.scope.delete_row();
ctx.scope.deleteRow();
});
it('should NOT ask for confirmation', function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment