No commit activity in last 3 years
No release in over 3 years
MiniTest matchers for ActiveModel::Validations
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

minitest-activemodel

Gem Version Build Status Dependency Status Code Climate

MiniTest matchers for ActiveModel::Validations.

Support

This gem supports:

  • Ruby 1.9.3, 2.0.0, ruby-head, rbx-19mode.
  • ActiveModel 3.2.x.

Installation

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

Usage

Check the official documentation for more details.

Contributing

Read CONTRIBUTING.

License

MIT License. Copyright 2012 Francesco Rodriguez. See LICENSE.md for more information.