Fix clear/reset wording in nav_controls_spec

This commit is contained in:
Matija Čupić 2017-12-21 03:55:23 +01:00
parent e17f0e9e34
commit f8c044bad3
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE

View file

@ -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);
});