diff --git a/src/common-components/radio-question/radio-question.spec.js b/src/common-components/button-question/button-question.spec.js similarity index 80% rename from src/common-components/radio-question/radio-question.spec.js rename to src/common-components/button-question/button-question.spec.js index de6458122..4f7d3d342 100644 --- a/src/common-components/radio-question/radio-question.spec.js +++ b/src/common-components/button-question/button-question.spec.js @@ -1,10 +1,10 @@ import { shallowMount } from "@vue/test-utils"; -import radioQuestion from "@/common-components/radio-question/radio-question"; +import buttonQuestion from "@/common-components/button-question/button-question"; -describe("radioQuestion.vue", () => { +describe("buttonQuestion.vue", () => { it("Should render the 'questionText' prop value as a span value for the radio question and the 'answer' values should render as text values for radio components.", async () => { // Act - const wrapper = shallowMount(radioQuestion); + const wrapper = shallowMount(buttonQuestion); await wrapper.setProps({ questionText: "Question Text", answers: ["2023", "2022", "2021"], diff --git a/src/common-components/radio-question/radio-question.vue b/src/common-components/button-question/button-question.vue similarity index 84% rename from src/common-components/radio-question/radio-question.vue rename to src/common-components/button-question/button-question.vue index 36f130e9f..78b75f3ea 100644 --- a/src/common-components/radio-question/radio-question.vue +++ b/src/common-components/button-question/button-question.vue @@ -1,5 +1,5 @@