if a spouse wasn't a merchant before, they will open up a small store selling miscellaneous things.
If a spouse was a merchant (such as a blacksmith), they will be selling those items still.
http://www.uesp.net/wiki/Skyrim:Marriage has a list of potential spouses, their occupation (if applicable) and their homes.