Sha256: ebea18c56a5a8e640bf0ec21f9f7cbcec9e13812814528515c644ad5703f8744

Contents?: true

Size: 562 Bytes

Versions: 65

Compression:

Stored size: 562 Bytes

Contents

import { testComponentSnapshotsWithFixtures } from '@theforeman/test';

import AnsibleRoleInputs from './AnsibleRoleInputs';

const fixtures = {
  'should render role to add': {
    role: { id: 2, name: 'test.role', hostAnsibleRoleId: 5, position: 2 },
    resourceName: 'host',
    idx: 14,
  },
  'should render role to remove': {
    role: { id: 2, name: 'test.role', hostAnsibleRoleId: 5, destroy: true },
    resourceName: 'host',
    idx: 14,
  },
};

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

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
foreman_ansible-10.2.0 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-10.1.0 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-10.0.1 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-10.0.0 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-7.1.4 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-9.0.1 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-7.1.3 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-9.0.0 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-7.1.2 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-7.1.1 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-8.0.1 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-8.0.0 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-7.0.4 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-7.1.0 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-7.0.3 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-7.0.2 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-7.0.1 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-7.0.0 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-6.3.4 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-6.3.3 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js