Added edit_spec.rb and validations