       expect(infoContainerName.textContent).toEqual '#koding-dummy-channel'
 
 
-    it 'should be "This is a private conversation." of ".ChannelInfoContainer-name" textContent ', ->
+    it 'should show a description instead of a name for a private channels', ->
 
       options = { typeConstant : 'privatemessage' }
       channel = toImmutable mock.getMockChannel options

toImmutable     = require 'app/util/toImmutable'
whoami          = require 'app/util/whoami'

{ Simulate
  createRenderer
  renderIntoDocument
  findRenderedDOMComponentWithClass
  scryRenderedDOMComponentsWithClass } = TestUtils


describe 'ChannelInfoView', ->

      expect(onCollaborationHelp).toHaveBeenCalled()


    it 'should call passed handler on invite others link click', ->

      onInviteOthers   = expect.createSpy()
      channelInfoView  = renderIntoDocument(<ChannelInfoView onInviteOthers={onInviteOthers}/>)
