added capybara
 helper method now adds a contenteditable attribute