BigW Consortium Gitlab

Commit 26f6065e by Sean McGivern

Fix JS lock issue specs

parent 37e3d42b
......@@ -16,7 +16,7 @@ describe('Issue Warning Component', () => {
isLocked: true,
});
expect(vm.$el.querySelector('i').className).toEqual('fa fa-lock');
expect(vm.$el.querySelector('i').className).toEqual('fa icon fa-lock');
expect(formatWarning(vm.$el.querySelector('span').textContent)).toEqual('This issue is locked. Only project members can comment.');
});
});
......@@ -27,7 +27,7 @@ describe('Issue Warning Component', () => {
isConfidential: true,
});
expect(vm.$el.querySelector('i').className).toEqual('fa fa-eye-slash');
expect(vm.$el.querySelector('i').className).toEqual('fa icon fa-eye-slash');
expect(formatWarning(vm.$el.querySelector('span').textContent)).toEqual('This is a confidential issue. Your comment will not be visible to the public.');
});
});
......
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