Respect/Validation — Issue #42: Dumb validators for mocking and testing purposes.
Author: alganet
Created: 2011-10-17 23:43:45+00:00
State: open

There's a need for simple validators in our tests and perhaps in other users tests. Two proposed rules are: AlwaysValid e AlwaysInvalid rule. They just return true or false.

Also, as a part of this issue, a nice improvement in our tests could be finding every case in which we're using Callback Rule to mock AlwaysValid and AlwaysInvalid and replace with the proper dumb validators.