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-15.0.2 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-15.0.1 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-15.0.0 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-14.2.2 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-14.2.1 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-13.0.7 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-14.2.0 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-14.1.1 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-14.1.0 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-13.0.5 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-14.0.0 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-13.0.4 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-13.0.3 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-13.0.2 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-13.0.1 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-13.0.0 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-12.0.7 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-10.4.4 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-7.1.8 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js
foreman_ansible-12.0.6 webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleInputs.test.js