Sha256: 76de4770d045f8f972c0a703e02f0b79b0fcd38e48156ab25ddc4501d4c4ece8

Contents?: true

Size: 601 Bytes

Versions: 27

Compression:

Stored size: 601 Bytes

Contents

import React from 'react';
import TestRenderer from 'react-test-renderer';
import SubscriptionDetailInfo from '../SubscriptionDetailInfo';
import { successState } from './subscriptionDetails.fixtures';

describe('subscriptions detail associations page', () => {
  it('renders correctly', () => {
    const testRenderer = TestRenderer
      .create(<SubscriptionDetailInfo subscriptionDetails={successState} />);
    const testInstance = testRenderer.root;

    expect(testRenderer.toJSON()).toMatchSnapshot();
    expect(testInstance.findByType('h2').children[0]).toBe('Subscription Info');
  });
});

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
katello-3.7.1 webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailInfo.test.js
katello-3.8.0 webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailInfo.test.js
katello-3.8.0.rc3 webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailInfo.test.js
katello-3.8.0.rc2 webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailInfo.test.js
katello-3.7.0 webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailInfo.test.js
katello-3.8.0.rc1 webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailInfo.test.js
katello-3.7.0.rc2 webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailInfo.test.js