Fix broken test

This commit is contained in:
Filipa Lacerda 2017-03-28 18:44:50 +01:00
parent 76119cb113
commit 5cad1401b8
2 changed files with 2 additions and 2 deletions

View File

@ -425,7 +425,7 @@ export default {
},
template: `
<tr>
<tr :class="{ 'js-child-row': model.isChildren }">
<td>
<a v-if="!model.isFolder"
class="environment-name"

View File

@ -262,7 +262,7 @@ describe('Environment', () => {
// wait for next async request
setTimeout(() => {
expect(component.$el.querySelectorAll('.child-row').length).toEqual(1);
expect(component.$el.querySelectorAll('.js-child-row').length).toEqual(1);
expect(component.$el.querySelector('td.text-center > a.btn').textContent).toContain('Show all');
Vue.http.interceptors = _.without(Vue.http.interceptors, folderInterceptor);