This will fail to execute if one of the assertions fails, because a failed assertion raises an exception. We will need a better SpecHelper module for this that does something like:

```ruby
module SpecHelper::OutputCapture
  def it(*args, &block)
    $stdin = StringIO.new("1\n", 'r')
    super
  ensure
    $stdin = STDIN
  end
end

describe "output capturing" do
  extend SpecHelper::OutputCapture

  it "cats the first podspec from all podspecs" do
    run_command('spec', 'cat', '--show-all', 'AFNetworking')
    UI.output.should.include fixture('spec-repos/master/AFNetworking/1.2.0/AFNetworking.podspec').read
  end
end
```