Sha256: 1d69d4d3728a5f9d6ed6e3e10dc2d44199080fe07aef1e87e7be281d9750617d

Contents?: true

Size: 456 Bytes

Versions: 11

Compression:

Stored size: 456 Bytes

Contents

import { shallow }     from 'enzyme';

import FeaturedComment from './featured_comment.component';
import Comment         from './comment.component';

import stubComponent   from '../support/stub_component';

describe('<FeaturedComment />', () => {
  stubComponent(Comment);

  it("should render a section of class comments", () => {
    const wrapper = shallow(<FeaturedComment />);
    expect(wrapper.find('section.comments')).to.be.present();
  });
});

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
decidim-comments-0.0.6 app/frontend/comments/featured_comment.component.test.jsx
decidim-0.0.6 decidim-comments/app/frontend/comments/featured_comment.component.test.jsx
decidim-comments-0.0.5 app/frontend/comments/featured_comment.component.test.jsx
decidim-0.0.5 decidim-comments/app/frontend/comments/featured_comment.component.test.jsx
decidim-0.0.4 decidim-comments/app/frontend/comments/featured_comment.component.test.jsx
decidim-comments-0.0.3 app/frontend/comments/featured_comment.component.test.jsx
decidim-0.0.3 decidim-comments/app/frontend/comments/featured_comment.component.test.jsx
decidim-comments-0.0.2 app/frontend/comments/featured_comment.component.test.jsx
decidim-0.0.2 decidim-comments/app/frontend/comments/featured_comment.component.test.jsx
decidim-comments-0.0.1 app/frontend/comments/featured_comment.component.test.jsx
decidim-0.0.1 decidim-comments/app/frontend/comments/featured_comment.component.test.jsx