Simple assertions
Gem | Source | Documentation
A collection of useful assertions.
Usage
require 'simple_assertions'
class MiniTest::TestCase
# include *SimpleAssertions.all
include SimpleAssertions::AssertErrorsOn
include SimpleAssertions::AssertRaises
end
Assertions
- SimpleAssertions::AssertErrorsOn
- SimpleAssertions::AssertRaises
Only >= 2.0 suported!
Note that only ruby version >= 2.0 is supported.
Release
edit lib/simple_assertions/version.rb
git commit -am "Release X.Y.Z"
rake release
Contributing
- 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