Contesting a will in Texas

What are the inheritance rights of a spouse in Texas.