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.
Add this line to your application's Gemfile:
gem 'test_friends'
And then execute:
$ bundle
Or install it yourself as:
$ gem install test_friends
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request