           user: Rally.environment.getContext().getUser()
           subscription: Rally.environment.getContext().getSubscription()
 
-      context.isFeatureEnabled = -> enableToggles
-      Rally.app.GridBoardApp.bufferedRendererEnabled = enableToggles
-
       Ext.create 'Rally.apps.portfolioitemstreegrid.PortfolioItemsTreeGridApp',
         context: context
         renderTo: 'testDiv'
 
-    renderApp: (enableToggles = true) ->
-      @app = @createApp(enableToggles)
+    renderApp: () ->
+      @app = @createApp()
       @waitForComponentReady @app
 
   beforeEach ->

    @piHelper.stubPortfolioItemRequests()

  afterEach ->
    delete Rally.app.GridBoardApp.bufferedRendererEnabled
    _.invoke Ext.ComponentQuery.query('portfoliotemstreegridapp'), 'destroy'

  it 'should initialize', ->

      expect(_.intersection(storeTypes, piTypes)).toEqual piTypes

  describe '#getGridConfig', ->
    it 'should enable inline', ->
      @renderApp().then =>
        expect(@app.getGridConfig().enableInlineAdd).toBe true
