import React from 'react';
import renderer from 'react-test-renderer';
import FeedView from './FeedView';
import {withDefaultNowContext} from '../testing/NowContainer';
import homeFeedJson from '../testing/fixtures/home_feed_json';


describe('FeedView', () => {
  it('pure component matches snapshot', () => {
    const tree = renderer
      .create(withDefaultNowContext(<FeedView feedCards={homeFeedJson.feed_cards} />))
      .toJSON();
    expect(tree).toMatchSnapshot();
  });
});


@@ -158,24 +158,95 @@
 Container';%0A
+import PerDistrictContainer from '../components/PerDistrictContainer';%0A
 import homeF
@@ -437,16 +437,83 @@
 Context(
+%0A        %3CPerDistrictContainer districtKey=%22somerville%22%3E%0A          
 %3CFeedVie
@@ -552,16 +552,55 @@
 ards%7D /%3E
+%0A        %3C/PerDistrictContainer%3E%0A      
 ))%0A     

Update FeedView test