From 409770d92a39bc6577c40d95cef89585842324dc Mon Sep 17 00:00:00 2001 From: Scott Kiener Date: Thu, 3 Nov 2022 08:58:57 -0400 Subject: [PATCH] CSR-731 | Fixing unit test --- .../list-button-horizontal/list-button-horizontal.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ux-components/list-button-horizontal/list-button-horizontal.spec.js b/src/ux-components/list-button-horizontal/list-button-horizontal.spec.js index 09a63b349..52ce67e22 100644 --- a/src/ux-components/list-button-horizontal/list-button-horizontal.spec.js +++ b/src/ux-components/list-button-horizontal/list-button-horizontal.spec.js @@ -52,12 +52,12 @@ describe("list-button-horizontal.vue", () => { expect(input.attributes()["aria-required"]).toEqual("true"); }); - it("is cash or insurance button => has 'radio-fancy' class", () => { + it("is cash or insurance button => has 'strong' class", () => { // Arrange/Act const { wrapper } = setupMocks({ mockData: { propsData: { - isCashOrInsurance: true, + additionalButtonStyling: 'listButtonHorizontalStrong', }, }, }); @@ -65,7 +65,7 @@ describe("list-button-horizontal.vue", () => { // Assert const label = wrapper.find("label"); - expect(label.classes()).toContain("radio-fancy"); + expect(label.classes()).toContain("strong"); }); test("has buttonLabel => displays buttonLabel", () => {