Commit b51bcb35 authored by Paul Slaughter's avatar Paul Slaughter

Fix use of deprecated hasClass in spec

parent e7d936f5
......@@ -308,7 +308,7 @@ describe('EE MRWidget approvals list', () => {
it('renders the name in a monospace font', () => {
const codeOwnerRow = findRowElement(row, 'name');
expect(codeOwnerRow.hasClass('monospace')).toEqual(true);
expect(codeOwnerRow.classes('monospace')).toEqual(true);
expect(codeOwnerRow.text()).toEqual(rule.name);
});
});
......
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