Plugins - dry_validity_assertions

StarAdd to favorites

dry_validity_assertions

dry_validity_assertions provides helper methods for testing the validity of ActiveRecord objects.

Resources

Announcement

Wiki

API

Development

Source

Description

This test helper provides two additional assertion tests, assert_valid and assert_invalid. These help when having to unit test model classes and determining whether values for specific attributes cause the model to become invalid.

Usage

See Test::Unit::TestCase#assert_valid and Test::Unit::TestCase#assert_invalid for more information on usage and examples.

Testing

Before you can run any tests, the following gem must be installed:

Dependencies

This plugin does not depend on the presence of any other plugin.

References

Aaron Pfeifer, Neil Abraham

http://wiki.pluginaweek.org/Dry_validity_assertions

http://svn.pluginaweek.org/trunk/plugins/test/dry_validity_assertions

Rails' (MIT)

  • Currently 0.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Testing

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?