Commit 53dab449 authored by Phil Hughes's avatar Phil Hughes

fixed specs

parent 95ad6de0
...@@ -72,7 +72,7 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line ...@@ -72,7 +72,7 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
return false; return false;
} }
const fail = (e) => { throw e; Flash('Error loading dynamic module'); } const fail = () => Flash('Error loading dynamic module');
const callDefault = m => m.default(); const callDefault = m => m.default();
path = page.split(':'); path = page.split(':');
......
...@@ -98,12 +98,15 @@ const bindEvents = () => { ...@@ -98,12 +98,15 @@ const bindEvents = () => {
}); });
$projectImportUrl.keyup(() => deriveProjectPathFromUrl($projectImportUrl)); $projectImportUrl.keyup(() => deriveProjectPathFromUrl($projectImportUrl));
<<<<<<< HEAD
$('.import_git').on('click', () => { $('.import_git').on('click', () => {
const $projectMirror = $('#project_mirror'); const $projectMirror = $('#project_mirror');
$projectMirror.attr('disabled', !$projectMirror.attr('disabled')); $projectMirror.attr('disabled', !$projectMirror.attr('disabled'));
}); });
=======
>>>>>>> 8e629a4545... fixed specs
}; };
document.addEventListener('DOMContentLoaded', bindEvents); document.addEventListener('DOMContentLoaded', bindEvents);
......
import projectNew from '~/pages/projects/shared/project_new'; import projectNew from '~/projects/project_new';
describe('New Project', () => { fdescribe('New Project', () => {
let $projectImportUrl; let $projectImportUrl;
let $projectPath; let $projectPath;
......
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