added rspec test for method edit in List controller