Pete Fowler
blog.petefowler.dev

blog.petefowler.dev

Follow
homebadges
Tag

#rspec

#rspec

More content

Read more stories on Hashnode


Articles with this tag

Capturing multi-line console output in Ruby's RSpec testing interface

Oct 2, 20223 min read

How do you capture multiple lines of console output in Ruby? Here is one way to do it. This example comes from writing a test for multiple lines of...

Capturing multi-line console output in Ruby's RSpec testing interface