Sha256: 962262d9aaf659af2c8b223ff515c10d968c311ce91f7e630dcb0925c1568547

Contents?: true

Size: 530 Bytes

Versions: 20

Compression:

Stored size: 530 Bytes

Contents

import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';

import AssignedRolesList from './AssignedRolesList';

const noop = () => {};

const fixtures = {
  'should render': {
    assignedRoles: [{ id: 1, name: 'fake.role' }, { id: 2, name: 'test.role' }],
    pagination: { page: 1, perPage: 25 },
    itemCount: 2,
    onPaginationChange: noop,
    onRemoveRole: noop,
    resourceName: 'host',
  },
};

describe('AssignedRolesList', () =>
  testComponentSnapshotsWithFixtures(AssignedRolesList, fixtures));

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
foreman_ansible-4.0.3.5 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-4.0.3.4 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-4.0.3.3 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-4.0.3.2 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-4.0.3.1 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-4.0.3 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-4.0.2 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-4.0.0 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-3.0.9 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-3.0.8 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-3.0.7 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-3.0.6 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-3.0.5 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-3.0.4 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-3.0.3 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-2.3.4 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-3.0.2 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-3.0.1 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-3.0.0 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js
foreman_ansible-2.3.3 webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js