TestFriends Build Status

TestFriends gem is a library bundle to help your unit testing.

It includes following modules.

  • TestFriends::ResolvErrorStub: to force Resolv to raise error exception.
  • TestFriends::Tempfile: Real file stub with auto cleanup and Pathname like APIs.

Installation

Add this line to your application's Gemfile:

gem 'test_friends'

And then execute:

$ bundle

Or install it yourself as:

$ gem install test_friends

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request