How do you actually see the html output during a functional test in rails -
One of my assert_selects is driving me to the wall, its failure and of course it's telling me what to expect But the ID is to see what was actually there on that page when it was provided to track this bug
Ive already tried to use my browser and the app It's behaving as it should, but using development data.
Can any command use html to print the console or my test log?
just do
puts @response.body
Before you claim the right problem and you should see this thing.
Comments
Post a Comment