import React from 'react'
import { mount } from '../../test/utils'

import { Caption } from '../Caption'

describe('<Caption />', () => {
  it('renders its children', () => {
    const mockChildren = 'mock_children'
    const app = mount(<Caption>{mockChildren}</Caption>)
    expect(app).toContainReactText(mockChildren)
  })
})
