     right = 'all string number int object array'.split ' '
     wrong = 'not valie data types'.split ' '
     f = (datatype) ->
-      new inport
+      new noflo.InPort
         datatype: datatype
     right.forEach (r) ->
       it "should accept a '#{r}' data type", =>

      chai.expect(p.options.type).to.equal 'text/url'

  describe 'without attached sockets', ->
    p = new inport
    it 'should not be attached', ->
      chai.expect(p.isAttached()).to.equal false
      chai.expect(p.listAttached()).to.eql []

            chai.expect(packet.payload).to.equal expectedData.shift()
          if expectedEvents.length is 0
            done()
      s = new noflo.internalSocket.InternalSocket
      p.attach s
      s.send 'buffered-data-1'
      s.send 'buffered-data-2'
