Testing Output in RSpec using StringIO

Originally published at: https://froware.com/2019/04/09/testing-output-in-rspec-using-stringio/

This is a quick blog on testing output with RSpec. Currently, I am working on a Tic Tac Toe game in Ruby, where a human player can play against a computer.