text: import expect from 'expect';
  import { createStore } from 'redux';
  import rootReducer from '../reducers';
  import initialState from '../reducers/initialState';
  import * as courseActions from '../actions/courseActions';
  
  describe('Store', function() {
    it('Should handle creating courses', function() {
      // arrange
      const store = createStore(rootReducer, initialState);
      const course = {
        name: "Pebble Beach"
      };
  
      // act
      const action = courseActions.createCourseSuccess(course);
      store.dispatch(action);
  
      // assert
      const actual = store.getState().courses[0];
      const expected = {
        name: "Pebble Beach"
      };
  
      expect(actual).toEqual(expected);
    });
  });
  