Fix clear/reset wording in nav_controls_spec
This commit is contained in:
parent
e17f0e9e34
commit
f8c044bad3
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ describe('Pipelines Nav Controls', () => {
|
|||
propsData: mockData,
|
||||
}).$mount();
|
||||
|
||||
expect(component.$el.querySelectorAll('.btn-default')[0].textContent).toContain('Reset runner caches');
|
||||
expect(component.$el.querySelectorAll('.btn-default')[0].textContent).toContain('Clear runner caches');
|
||||
expect(component.$el.querySelectorAll('.btn-default')[0].getAttribute('href')).toEqual(mockData.resetCachePath);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue