mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 21:43:04 +00:00
130: fixed test description mistakes
This commit is contained in:
@@ -55,7 +55,7 @@ describe('requestReducer', () => {
|
||||
expect(newState[link2].completed).toEqual(false);
|
||||
});
|
||||
|
||||
it('should set \'requestPending\' to false, \'responsePending\' to false and leave \'completed\' untouched for the given RestRequest in the state, in response to an EXECUTE action', () => {
|
||||
it('should set \'requestPending\' to false, \'responsePending\' to true and leave \'completed\' untouched for the given RestRequest in the state, in response to an EXECUTE action', () => {
|
||||
const state = testState;
|
||||
|
||||
const action = new RequestExecuteAction(link1);
|
||||
@@ -66,7 +66,7 @@ describe('requestReducer', () => {
|
||||
expect(newState[link1].responsePending).toEqual(true);
|
||||
expect(newState[link1].completed).toEqual(state[link1].completed);
|
||||
});
|
||||
it('should leave \'requestPending\' untouched, set \'responsePending\' to false and \'completed\' to false for the given RestRequest in the state, in response to a COMPLETE action', () => {
|
||||
it('should leave \'requestPending\' untouched, set \'responsePending\' to false and \'completed\' to true for the given RestRequest in the state, in response to a COMPLETE action', () => {
|
||||
const state = testState;
|
||||
|
||||
const action = new RequestCompleteAction(link1);
|
||||
|
Reference in New Issue
Block a user