     benv.teardown()
 
   beforeEach ->
-    @MetaDataView = benv.require('../view.coffee')
+    @MetaDataView = rewire('../view.coffee')
     @model =
       get: (key) => @model[key]
       id: 'peter-alexander-wedge-with-puff'

benv = require 'benv'
moment = require 'moment'
sinon = require 'sinon'
rewire = require 'rewire'
Backbone = require 'backbone'
_ = require 'underscore'

      @MetaDataView.__set__
        createOrder: createOrderStub
        location: locationMock
        CurrentUser:
          orNull: ->
            hasLabFeature: (feature) -> feature == 'New Buy Now Flow'
