Refactor todo list test with rspec