const expect = require('chai').expect;
const React = require('react');
import { Provider } from 'react-redux';
import { mount } from 'enzyme';
import fakeStore from './fakeStore';

import Profile from '../../client/components/Profile.js';

const fakeProfile = {
  avatar: 'http://www.carderator.com/assets/avatar_placeholder_small.png',
  username: 'USERNAME',
};

describe('<Profile />', () => {
  let wrapper;

  beforeEach('render Profile', () => {
    wrapper = mount(
      <Provider store={fakeStore}>
        <Profile />
      </Provider>);
  });

  it('renders without problems', () => {
    expect(wrapper.find(Profile)).to.have.length(1);
  });

  it('should display the correct username', () => {
    expect(wrapper.find('.profile-username').text()).to.equal(fakeStore.getState().profile.username);
  });

  it('should display the correct avatar', () => {
    expect(wrapper.find('.profile-avatar').html()).to.contain(fakeStore.getState().profile.avatar);
  });
});

@@ -231,16 +231,90 @@
 ile.js';
+%0Aimport RecipeContainer from '../../client/components/RecipeContainer.js';
 %0A%0Aconst 
@@ -1039,13 +1039,132 @@
 );%0A  %7D);
+%0A%0A  it('should render two recipe containers', () =%3E %7B%0A    expect(wrapper.find(RecipeContainer)).to.have.length(2);%0A  %7D)
 %0A%7D);%0A

Check for two RecipeContainers on Profile