heartcombo--devise/test/models
Lucas Mazza 7bff3be869 Attempt to coerce the `generated_at` cookie to a `Time` object.
Time objects aren't properly coerced back when using the JSON cookie serialization,
so we need to do it ourselves.

To avoid any new JSON serialization issues, we now store the `generated_at` as
an String with the timestamp seconds + miliseconds in the cookie but still the
previous JSON encoded format.

Thanks to @boblail at https://github.com/plataformatec/devise/pull/3917 for the
initial patch.
2016-01-29 18:04:16 -02:00
..
authenticatable_test.rb Ensure that we sanitize any `AC::Parameters` in `find_or_initialize_with_errors`. 2014-09-18 18:21:05 -03:00
confirmable_test.rb Merge pull request #3835 from kv109/master 2015-12-15 11:36:47 -02:00
database_authenticatable_test.rb quick comment touch-ups 2015-08-27 10:26:12 -05:00
lockable_test.rb Fix typo: successful 2015-09-30 19:31:49 -03:00
omniauthable_test.rb Adding required_fields to all modules 2012-02-24 20:57:58 -02:00
recoverable_test.rb Only clear the reset token on an update 2015-12-09 11:14:50 -08:00
registerable_test.rb Adding required_fields to all modules 2012-02-24 20:57:58 -02:00
rememberable_test.rb Attempt to coerce the `generated_at` cookie to a `Time` object. 2016-01-29 18:04:16 -02:00
serializable_test.rb Updated ruby 1.9 hash syntax 2014-02-25 22:12:55 +05:30
timeoutable_test.rb Updated ruby 1.9 hash syntax 2014-02-25 22:12:55 +05:30
trackable_test.rb added test for update_tracked_fields method 2014-05-22 11:11:13 -07:00
validatable_test.rb Rails 5 compatability. Remove rails < 4.1 and Ruby < 2.1 2015-12-11 09:47:30 -08:00