aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/integration_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Respect cache timestamp format when giving timestamps to #cache_keyCarlos Antonio da Silva2013-11-041-2/+2
|
* Extend ActiveRecord::Base#cache_key to take an optional list of timestamp ↵David Heinemeier Hansson2013-11-021-1/+7
| | | | attributes of which the highest will be used.
* prevent global timezone state from leaking out of test cases.Yves Senn2013-10-251-9/+4
|
* make test order independent by resetting timezoneNeeraj Singh2013-07-281-0/+2
|
* Add test for `AR::Base#to_param`Takehiro Adachi2013-05-021-1/+6
| | | | | | | According to the doc of `AR::Base#to_param`( https://github.com/rails/rails/blob/04cda1848cb847c2bdad0bfc12160dc8d554 7775/activerecord/lib/active_record/integration.rb#L18 ), it returns `nil` if the record is not persisted.
* Extract tests code out from AR's base_test.rb to integration_test.rbTakehiro Adachi2013-05-021-0/+82
`AR::Base#to_param` and `AR::Base#cache_key` is defined at active_record/integration.rb, so tests for those methods should be at integration_test.rb