Commit ac420c22 authored by Christoph Häfner's avatar Christoph Häfner

Rename "FindUnseenMovieForm" -> "FindSeenMovieForm"

parent 2f1f2b22
Pipeline #427 passed with stages
in 8 minutes and 27 seconds
import { expect as chaiExpect } from 'chai'
import { shallow } from 'enzyme'
import FindUnseenMovieForm from '../../../../src/rate/unseenMovieList/components/FindUnseenMovieForm.js'
import FindSeenMovieForm from '../../../../src/rate/unseenMovieList/components/FindSeenMovieForm.js'
describe('FindUnseenMovieForm', () => {
describe('FindSeenMovieForm', () => {
const subComponent = "< />"
it('should render a sub-component and two buttons', () => {
const wrapper = shallow(<FindUnseenMovieForm />);
const wrapper = shallow(<FindSeenMovieForm />);
expect(wrapper.text()).toContain(subComponent);
expect(wrapper.find('button').children().length).toBe(2);
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment