   describe '#configure', ->
     context 'called with letters', ->
       it 'should add new letters', ->
-        varity.configure
+        $.configure
           letters:
             'X': 'XtraLg'
-        wrapped = varity ' Xo', @callback
+        wrapped = $ ' Xo', @callback
         class XtraLg
         x = new XtraLg()
         obj = {}
         wrapped x, obj
 
       it 'should override changed letters', ->
-        varity.configure
+        $.configure
           letters:
             'a': 'Array',
             'A': 'Arguments'
-        wrapped = varity 'a', @callback
+        wrapped = $ 'a', @callback
         arr = []
         wrapped arr
         @callback.calledWith(arr).should.be.true

    context 'called with defaults', ->
      it 'should allow new items', ->
        class Foo
        varity.configure
          defaults:
           'Foo': ->
              return new Foo()
        wrapped = varity '+Foo', @callback
        wrapped()
        @callback.args[0][0].should.be.an.instanceOf(Foo)

      it 'should allow overrides', ->
        varity.configure
          defaults:
            'Array': ['one', 'two']
        wrapped = varity '+Array', @callback
        wrapped()
        @callback.calledWith(['one', 'two']).should.be.true

    context 'called with populate', ->
      it 'should expand any missing params', ->
        varity.configure
          populate: true
        wrapped = varity 'so', @callback
        wrapped 'string'
        @callback.calledWith('string', {}).should.be.true

      it 'should expand passed in param types', ->
        varity.configure
          populate: ['Array', 'Object']
        wrapped = varity 'oAs', @callback
        wrapped()
        @callback.calledWith({}, [], undefined).should.be.true


      @callback.calledWith(reg).should.be.true

    it 'should convert Nan to NaN', ->
      wrapped = $
        type: 'NaN'
      , @callback
      wrapped NaN
      @callback.args[0][0].should.be.NaN

    it 'should accept a real type', ->
      wrapped = $
        type: Function
      , @callback
      fn = ->
