         should.equal(@callback.args[0][1][0], undefined)
 
       it 'should convert Infinity to Infinity', ->
-        wrapped = varity 'String', '+Infinity', @callback
+        wrapped = $ 'String', '+Infinity', @callback
         wrapped 'string'
         @callback.calledWith('string', Infinity).should.be.true
 
       it 'should convert i to Infinity', ->
-        wrapped = varity 's+i', @callback
+        wrapped = $ 's+i', @callback
         wrapped 'string'
         @callback.calledWith('string', Infinity).should.be.true
 
       it 'should convert Error to a new error', ->
-        wrapped = varity 'String', '+Error', @callback
+        wrapped = $ 'String', '+Error', @callback
         wrapped 'string'
         @callback.args[0][0].should.equal('string')
         @callback.args[0][1].constructor.name.should.equal('Error')
         @callback.args[0][1].message.should.equal('')
 
       it 'should convert e to a new error', ->
-        wrapped = varity 's+e', @callback
+        wrapped = $ 's+e', @callback
         wrapped 'string'
         @callback.args[0][0].should.equal('string')
         @callback.args[0][1].constructor.name.should.equal('Error')

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

    it 'should convert Object to AnonObject', ->
      wrapped = varity
        type: 'Object'
      , @callback
      obj = {}

    it 'should accept multiple custom types', ->
      class Foo
      class Bar
      wrapped = $ 'Foo', 'Bar', @callback
      f = new Foo()
      b = new Bar()
      wrapped f, b
