             output.sendDone 'test'
 
         c.inPorts.in.attach sin1
-        sin1.post new IP 'data', 'some-data'
+        sin1.post new noflo.IP 'data', 'some-data'
       catch e
         done()
 

      sin1.post new noflo.IP 'data', 'some-data'

    it 'should send out string other port if there is only one port aside from error', (done) ->
      c = new component.Component
        inPorts:
          in:
            datatype: 'all'

      c.inPorts.in.attach sin1
      c.outPorts.out.attach sout1

      sin1.post new noflo.IP 'data', 'first'

    it 'should send object out other port if there is only one port aside from error', (done) ->
      c = new noflo.Component
        inPorts:
          in:
            datatype: 'all'
