Closed michiel3 closed 11 years ago
Then please start by writing tests for these.
I tried adding tests for these but got stuck with MiniTest, spoke with @jjoos on this and we decided to move to RSpec, which I hope to do this weekend.
@markijbema The rails validators that we will convert to have a nice test suite. They're in the other 'rails' branch.
validate_greater_than(param_name, param, compare) validate_greater_than_or_equal_to(param_name, param, compare)
validate_less_than(param_name, param, compare) validate_less_than_or_equal_to(param_name, param, compare)
Couldn't find any tests that actually test if the validations work like expected. I think we should add this to the test suite soon!