Simple assertions Build Status

A collection of usefull assertions.

Gem | Source | Documentation

Usage

require 'simple_assertions'

class MiniTest::TestCase
  # include *SimpleAssertions.all
  include SimpleAssertions::AssertErrorsOn
  include SimpleAssertions::AssertRaises
end

Assertions

  • SimpleAssertions::AssertErrorsOn

  • SimpleAssertions::AssertRaises

Only >= 1.9.2 suported!

Note that only ruby version >= 1.9.2 is supported.

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