How long does cooked pasta last in the fridge?
http://www.stilltasty.com/fooditems/index/17887 is as good advice as any I'd give.

In my experience, it gets some slimy mold stuff on it. If it feels slimy, its probably not good to eat, although the mold might taste delicious, you never know...