Updated rspec tests and fixed edit_wiki form.