Skip to content

Commit

Permalink
update test description
Browse files Browse the repository at this point in the history
  • Loading branch information
yctercero committed Sep 3, 2020
1 parent 5e1fd07 commit 6393862
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('Detections Rules API', () => {
fetchMock.mockResolvedValue(getRulesSchemaMock());
});

test('POSTs rule', async () => {
test('PUTs rule', async () => {
const payload = getUpdateRulesSchemaMock();
await updateRule({ rule: payload, signal: abortCtrl.signal });
expect(fetchMock).toHaveBeenCalledWith('/api/detection_engine/rules', {
Expand Down

0 comments on commit 6393862

Please sign in to comment.