1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/test/cases/validations
Niels Ganser 60dad828ae To infinity… and beyond!
Allow infinite values for validates_length_of. Particularly useful
for prettily defining an open ended range such as

validates_length_of :human_stupidity, :within => 0..Float::INFINITY
2012-02-06 12:58:32 +01:00
..
acceptance_validation_test.rb removed AR from all AMo tests, including any unneeded files (schema, fixtures and test helper) 2010-05-09 00:08:11 +03:00
callbacks_test.rb Removing unwanted method and adding to accessor for getter history 2012-01-25 01:34:04 +05:30
conditional_validation_test.rb Follow code conventions on some tests 2011-05-10 20:58:36 -03:00
confirmation_validation_test.rb removed AR from all AMo tests, including any unneeded files (schema, fixtures and test helper) 2010-05-09 00:08:11 +03:00
exclusion_validation_test.rb Update variable's name in the test case to reflect the class we're testing 2011-11-18 11:51:05 -05:00
format_validation_test.rb Update variable's name in the test case to reflect the class we're testing 2011-11-18 11:51:05 -05:00
i18n_generate_message_validation_test.rb Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options hash and make various Validators pass their (filtered) options. 2010-06-21 11:55:21 +02:00
i18n_validation_test.rb Revert "Properly interpolate i18n keys in modules [#5572 state:resolved]" 2011-02-27 21:30:03 -02:00
inclusion_validation_test.rb Update variable's name in the test case to reflect the class we're testing 2011-11-18 11:51:05 -05:00
length_validation_test.rb To infinity… and beyond! 2012-02-06 12:58:32 +01:00
numericality_validation_test.rb added :other_than => :!= option to numericality validator 2011-12-21 10:54:44 +01:00
presence_validation_test.rb Work around the fact the JSON gem was overwriting to_json implementation for all Ruby core classes. 2010-06-26 12:01:13 +02:00
validates_test.rb Fixed test "ArgumentError: wrong number of arguments(1 for 0)" 2011-12-17 16:49:01 +05:30
validations_context_test.rb removed AR from all AMo tests, including any unneeded files (schema, fixtures and test helper) 2010-05-09 00:08:11 +03:00
with_validation_test.rb Optionally pass in the attribute being validated to an instance method validator 2011-02-05 16:44:35 -08:00