create(:task_request,project:project,description:'Description of the task',deadline:'2020-07-23',time_allowed:'10',additional_notes:'Additional note about the task')
expect(page).tohave_content('Description of the task')
expect(page).tohave_content('2020-07-23')
expect(page).tohave_content('10')
expect(page).tohave_content('Additional note about the task')
end
scenario'user can update existing task request'do
create(:task_request,project:project,description:'Description of the task',deadline:'2020-08-23',time_allowed:'10',additional_notes:'Additional note about the task')
create(:task_request,project:project,description:'Description of the task',deadline:'2020-08-23',time_allowed:'10',additional_notes:'Additional note about the task')