JEG2/highline — pull request #35 by rossmeissl (2012-04-30 01:24:25+00:00)
Title: Add Highline::Simulator for use in tests

This class facilitates easy testing of apps that use Highline. For example:

``` ruby
require 'highline/simulate'
class AuthTest < Test::Unit::TestCase
context "A user" do
should 'be prompted for credentials' do
Highline::Simulate.with 'bernie@example.com', 'test' do
MyApp.auth # presents console prompts for user/pass
end
end
end
end
```