                     ]
                     , -> done()
 
+
+      describe 'Room permissions', ->
+
         it 'should reject room messages from not joined users', (done) ->
           txt = 'Test message.'
           message = { textMessage : txt }

                  expect(error).ok
                  done()

        it 'should allow list modify for admins', (done) ->
          chatServer = new ChatService { port : port }, null, state
          room = new Room chatServer, roomName1
          room.roomState.addToList 'adminlist', [user1], ->

                      expect(u).equal(user2)
                      done()


      describe 'Direct messaging', ->

        it 'should send direct messages', (done) ->
          txt = 'Test message.'
