summaryrefslogtreecommitdiff
path: root/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js')
-rw-r--r--spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js b/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js
index 0e364c47f8d..67f4bee766b 100644
--- a/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js
+++ b/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js
@@ -99,13 +99,13 @@ describe('Configure Feature Flags Modal', () => {
});
it('should display the api URL in an input box', () => {
- const input = wrapper.find('#api_url');
- expect(input.element.value).toBe('/api/url');
+ const input = wrapper.find('#api-url');
+ expect(input.attributes('value')).toBe('/api/url');
});
it('should display the instance ID in an input box', () => {
const input = wrapper.find('#instance_id');
- expect(input.element.value).toBe('instance-id-token');
+ expect(input.attributes('value')).toBe('instance-id-token');
});
});
@@ -129,7 +129,7 @@ describe('Configure Feature Flags Modal', () => {
expect(findPrimaryAction()).toBe(null);
});
- it('shold not display regenerating instance ID', async () => {
+ it('should not display regenerating instance ID', async () => {
expect(findDangerCallout().exists()).toBe(false);
});