[Edit] Rename cancel() to finish()
This commit is contained in:
@@ -139,10 +139,10 @@ define(
|
||||
});
|
||||
});
|
||||
|
||||
describe("cancel", function () {
|
||||
describe("finish", function () {
|
||||
beforeEach(function () {
|
||||
capability.edit();
|
||||
capability.cancel();
|
||||
capability.finish();
|
||||
});
|
||||
it("cancels the transaction", function () {
|
||||
expect(mockTransactionService.cancel).toHaveBeenCalled();
|
||||
@@ -158,7 +158,7 @@ define(
|
||||
beforeEach(function () {
|
||||
mockDomainObject.getModel.andReturn(model);
|
||||
capability.edit();
|
||||
capability.cancel();
|
||||
capability.finish();
|
||||
});
|
||||
it("returns true if the object has been modified since it" +
|
||||
" was last persisted", function () {
|
||||
|
||||
Reference in New Issue
Block a user