[rspec] stdout redirect helper