content: /**
   * Created by jf on 15/12/9.
   */
  
  "use strict";
  
  import React from 'react';
  import { shallow } from 'enzyme';
  import assert from 'assert';
  import WeUI from '../src/index';
  
  const {CellFooter} = WeUI;
  
  describe('<CellFooter></CellFooter>', ()=> {
  
      ['cell footer wording', <img src="http://mmrb.github.io/avatar/bear.jpg" />].map((child)=>{
          describe(`<CellFooter>${child}</CellFooter>`, ()=>{
              const wrapper = shallow(
                  <CellFooter>{child}</CellFooter>
              );
  
              it(`should render <CellFooter></CellFooter> component `, ()=>{
                  assert(wrapper.instance() instanceof CellFooter);
              });
  
              it(`should have 'weui_cell_ft' class name`, ()=>{
                  assert(wrapper.hasClass(`weui_cell_ft`));
              });
  
              it(`should have child ${child}`, ()=>{
                  assert(wrapper.contains(child));
              });
          });
      });
  
  });