We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
#to_date
ActiveSupport is not strict enough in parsing dates:
"2012-02-01foo".to_date should be error not Date.
"2012-02-01foo".to_date
context 'strict validation to_date' do specify { subject.parse('2012-02-01foo').should be_error("invalid date: '2012-02-01foo'") } end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ActiveSupport is not strict enough in parsing dates:
"2012-02-01foo".to_date
should be error not Date.The text was updated successfully, but these errors were encountered: