diff --git a/webapp/components/_new/generic/PaginationButtons/PaginationButtons.spec.js b/webapp/components/_new/generic/PaginationButtons/PaginationButtons.spec.js index 19891bd14..f214ba55e 100644 --- a/webapp/components/_new/generic/PaginationButtons/PaginationButtons.spec.js +++ b/webapp/components/_new/generic/PaginationButtons/PaginationButtons.spec.js @@ -1,17 +1,17 @@ import { mount } from '@vue/test-utils' -import Paginate from './Paginate' +import PaginationButtons from './PaginationButtons' const localVue = global.localVue -describe('Paginate.vue', () => { +describe('PaginationButtons.vue', () => { let propsData = {} let wrapper let nextButton let backButton const Wrapper = () => { - return mount(Paginate, { propsData, localVue }) + return mount(PaginationButtons, { propsData, localVue }) } describe('mount', () => { diff --git a/webapp/components/_new/generic/PaginationButtons/PaginationButtons.story.js b/webapp/components/_new/generic/PaginationButtons/PaginationButtons.story.js index 9ec9532f6..79d0fad69 100644 --- a/webapp/components/_new/generic/PaginationButtons/PaginationButtons.story.js +++ b/webapp/components/_new/generic/PaginationButtons/PaginationButtons.story.js @@ -1,16 +1,16 @@ import { storiesOf } from '@storybook/vue' import { withA11y } from '@storybook/addon-a11y' import { action } from '@storybook/addon-actions' -import Paginate from '~/components/Paginate/Paginate' +import PaginationButtons from '~/components/_new/generic/PaginationButtons/PaginationButtons' import helpers from '~/storybook/helpers' helpers.init() -storiesOf('Paginate', module) +storiesOf('PaginationButtons', module) .addDecorator(withA11y) .addDecorator(helpers.layout) .add('basic pagination', () => ({ - components: { Paginate }, + components: { PaginationButtons }, data: () => ({ hasNext: true, hasPrevious: false,