 
   it 'has correct chartStore', ->
     @createApp().then =>
-      storeConfig = @app._getChartStoreConfig()
+      storeConfig = @app._buildChartStoreConfig()
       expect(storeConfig).not.toBeNull()
       expect(storeConfig.find.Project).toBe @project.ObjectID
 

      stateFieldValues: 'val1,val2,val3'
    }
    @createApp(settings).then =>
      calcConfig = @app._getChartCalculatorConfig()
      expect(calcConfig.stateFieldName).toBe settings.stateFieldName
      expect(calcConfig.stateFieldValues).toBe settings.stateFieldValues

  helpers
    getContext: (initialValues) ->


  it 'has key chartAppConfig elements in the right places', ->
    @createApp().then =>
      config = @app._buildChartAppConfig()
      expect(config).not.toBeNull()
      expect(config.storeConfig).not.toBeNull() # tested elsewhere
      expect(config.calculatorType).toBe 'ProjectCFDCalculator'
