I have been running Rspec tests and want to print out STDOUT. It seems like a very simple problem yet I see very little documentation about this issue and I have been unable to figure out how to print it. I know as a variable you can do $stdout but whenever I print it (using pp, puts, or print), I cannot get the actual value of stdout.
I attached an image of one of my tests with a few of my different attempts (commented out at the moment). Thanks for your help! -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/72a1e826-3464-4b32-ae95-88d86c928a30%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
