added rspec testing

added testing for edit page
added testing

added edit_spec.rb to check editing option