Is it possible to view the html rendered in a test?
Im testing an assert_select and its not passing though in the broswer
all is fine.
The test tells me what the assert_select expected but id like to see
what was there to make it fail. That way i can fix my code.
Is it possible to view the html rendered in a test?
Im testing an assert_select and its not passing though in the broswer
all is fine.
The test tells me what the assert_select expected but id like to see
what was there to make it fail. That way i can fix my code.
You should just be able to dump response.body to get the HTML.