I @myronmarstons idea here

```Ruby
expect { }.to output("foo").to_stdout
expect { }.to output(/bar/).to_stderr
```