Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/registry/settings/store/actions_spec.js')
-rw-r--r--spec/frontend/registry/settings/store/actions_spec.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/spec/frontend/registry/settings/store/actions_spec.js b/spec/frontend/registry/settings/store/actions_spec.js
index 5038dc82416..f92d10d087f 100644
--- a/spec/frontend/registry/settings/store/actions_spec.js
+++ b/spec/frontend/registry/settings/store/actions_spec.js
@@ -20,7 +20,7 @@ describe('Actions Registry Store', () => {
);
describe('receiveSettingsSuccess', () => {
- it('calls SET_SETTINGS when data is present', () => {
+ it('calls SET_SETTINGS', () => {
testAction(
actions.receiveSettingsSuccess,
'foo',
@@ -29,15 +29,6 @@ describe('Actions Registry Store', () => {
[],
);
});
- it('calls SET_IS_DISABLED when data is not present', () => {
- testAction(
- actions.receiveSettingsSuccess,
- null,
- {},
- [{ type: types.SET_IS_DISABLED, payload: true }],
- [],
- );
- });
});
describe('fetchSettings', () => {