MiniTest Matchers for ActiveModel::Validations
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gemfiles
lib
test
.gitignore
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Gemfile
LICENSE.md
README.md
Rakefile
minitest-activemodel.gemspec

README.md

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.