Commit 28227ec4 authored by Fernando's avatar Fernando

Rename selector in unit test

* Rename add_license_form_spec.js selector
parent 956554b2
...@@ -134,7 +134,7 @@ describe('AddLicenseForm', () => { ...@@ -134,7 +134,7 @@ describe('AddLicenseForm', () => {
Vue.nextTick(() => { Vue.nextTick(() => {
const descriptionElement = wrapper.findAll('.text-secondary'); const descriptionElement = wrapper.findAll('.text-secondary');
const formCheckElementMargin = wrapper.find('.form-check'); const formCheckElement = wrapper.find('.form-check');
expect(descriptionElement.at(0).text()).toBe( expect(descriptionElement.at(0).text()).toBe(
'Acceptable license to be used in the project', 'Acceptable license to be used in the project',
...@@ -144,7 +144,7 @@ describe('AddLicenseForm', () => { ...@@ -144,7 +144,7 @@ describe('AddLicenseForm', () => {
'Disallow merge request if detected and will instruct developer to remove', 'Disallow merge request if detected and will instruct developer to remove',
); );
expect(formCheckElementMargin).not.toBeNull(); expect(formCheckElement).not.toBeNull();
done(); done();
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment