MiniTest matchers for ActiveModel::Validations
.
This gem supports:
- Ruby 1.9.3, 2.0.0, ruby-head, rbx-19mode.
- ActiveModel 3.2.x.
Add this line to your application's Gemfile:
gem 'minitest-activemodel', group: :test
And then execute:
$ bundle
Or install it yourself as:
$ gem install minitest-activemodel
Then, you have to include the matchers into Minitest::Test
class Minitest::Test
include MiniTest::Matchers::ActiveModel
end
Check the official documentation for more details.
Read CONTRIBUTING.
MIT License. Copyright 2012 Francesco Rodriguez. See LICENSE.md for more information.