 
   it "Authorizes properly for private rooms", (done) ->
     private_join_responses = [
-      [@anony, "session"], [@authenty, "permission"], [@authory, "success"]
+      [@anony, "session"], [@sessiony, "permission"],
+      [@authenty, "permission"], [@authory, "success"]
     ]
     rooms = [ "dotstorm/#{@ds_private.id}", "firestarter/#{@fs_private.slug}",
               "resolve/#{@rs_private.id}",  "twinklepad/#{@tp_private.pad_id}"]


  after (done) ->
    @anony.close()
    @authenty.close()
    @authory.close()
    common.shutDown(@server, done)


  it "Authorizes properly for public rooms", (done) ->
    public_join_responses = [
      [@anony, "session"], [@sessiony, "success"],
      [@authenty, "success"], [@authory, "success"]
    ]
    rooms = [ "dotstorm/#{@ds_public.id}", "firestarter/#{@fs_public.slug}",
              "resolve/#{@rs_public.id}",  "twinklepad/#{@tp_public.pad_id}"]
