diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-11-02 11:35:21 +0100 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2016-11-02 11:35:21 +0100 |
commit | d939fbed0953be5e19308ec7dc7832cfd1d38160 (patch) | |
tree | 1edbbb9c9b952f418d65695daa1b10c011e5e9f5 /spec | |
parent | b193531b39fb8299477af1413c1861f00d7105b8 (diff) | |
download | gitlab-ce-d939fbed0953be5e19308ec7dc7832cfd1d38160.tar.gz |
Change show-gl-field-errors to gl-show-field-errors
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/fixtures/gl_field_errors.html.haml | 2 | ||||
-rw-r--r-- | spec/javascripts/gl_field_errors_spec.js.es6 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/fixtures/gl_field_errors.html.haml b/spec/javascripts/fixtures/gl_field_errors.html.haml index 3026af8856d..69445b61367 100644 --- a/spec/javascripts/fixtures/gl_field_errors.html.haml +++ b/spec/javascripts/fixtures/gl_field_errors.html.haml @@ -1,4 +1,4 @@ -%form.show-gl-field-errors{action: 'submit', method: 'post'} +%form.gl-show-field-errors{action: 'submit', method: 'post'} .form-group %input.required-text{required: true, type: 'text'} Text .form-group diff --git a/spec/javascripts/gl_field_errors_spec.js.es6 b/spec/javascripts/gl_field_errors_spec.js.es6 index 220e8c32447..0713e30e485 100644 --- a/spec/javascripts/gl_field_errors_spec.js.es6 +++ b/spec/javascripts/gl_field_errors_spec.js.es6 @@ -8,7 +8,7 @@ describe('GL Style Field Errors', function() { beforeEach(function() { fixture.load('gl_field_errors.html'); - const $form = this.$form = $('form.show-gl-field-errors'); + const $form = this.$form = $('form.gl-show-field-errors'); this.fieldErrors = new global.GlFieldErrors($form); }); |