rails/activemodel/test/cases
Wojciech Wnętrzak cb74473db6 Add ActiveModel::Errors#details
To be able to return type of validator, one can now call `details`
on Errors instance:

```ruby
class User < ActiveRecord::Base
  validates :name, presence: true
end
```

```ruby
user = User.new; user.valid?; user.errors.details
=> {name: [{error: :blank}]}
```
2015-01-20 22:33:42 +01:00
..
serializers Move model definition to test/models for test order indenendency 2014-08-28 16:56:53 +09:00
validations Merge pull request #18439 from mokhan/validates-acceptance-of-array 2015-01-12 12:06:00 -07:00
attribute_methods_test.rb Completely remove potential global state leaks in ActiveModel tests. 2014-03-11 00:48:25 +08:00
callbacks_test.rb Deprecate false as the way to halt AM callbacks 2015-01-02 15:31:56 -08:00
conversion_test.rb [ci skip] add tests for ActionModel::Conversion 2014-06-11 23:18:47 +05:30
dirty_test.rb Remove unused "deprecated_reload" method 2015-01-11 12:32:26 -08:00
errors_test.rb Add ActiveModel::Errors#details 2015-01-20 22:33:42 +01:00
forbidden_attributes_protection_test.rb Don't use assert_nothing_raised when assert_equal is used 2012-09-16 23:58:21 -05:00
helper.rb Default to sorting user's test cases for now 2014-09-08 05:32:16 -07:00
lint_test.rb Trim down Active Model API by removing valid? and errors.full_messages 2012-02-07 23:10:43 +01:00
model_test.rb ActiveModel::Model inclusion chain backward compatibility 2013-06-20 12:16:17 +10:00
naming_test.rb Delegate #model_name method to self.class 2014-06-22 19:14:25 -07:00
railtie_test.rb fix tests 2013-07-30 20:03:57 +03:00
secure_password_test.rb Allow password to contain spaces only. 2014-08-06 22:11:06 +03:00
serialization_test.rb Convert ActiveModel to 1.9 hash syntax. 2013-05-01 18:01:46 -07:00
translation_test.rb Run ActiveModel test suites in random order. 2014-03-10 03:52:51 +08:00
validations_test.rb - Fixed unused variable 2014-12-21 13:28:20 +05:30