Commit f8c044ba authored by Matija Čupić's avatar Matija Čupić

Fix clear/reset wording in nav_controls_spec

parent e17f0e9e
...@@ -57,7 +57,7 @@ describe('Pipelines Nav Controls', () => { ...@@ -57,7 +57,7 @@ describe('Pipelines Nav Controls', () => {
propsData: mockData, propsData: mockData,
}).$mount(); }).$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); expect(component.$el.querySelectorAll('.btn-default')[0].getAttribute('href')).toEqual(mockData.resetCachePath);
}); });
......
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