1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
2011-08-08 23:28:49 +01:00
..
active_record/connection_adapters
assets
cases Fully marshal AR::Base objects. Fixes #2431. 2011-08-08 23:28:49 +01:00
fixtures Quote these dates to prevent intermittent test failure. Suppose local time is 00:50 GMT+1. Without the quoting, the YAML parser would parse this as 00:50 UTC, into the local time of 01:50 GMT+1. Then, it would get written into the database in local time as 01:50. When it came back out the UTC date from the database and the UTC date of two weeks ago would be compared. The former would be 23:50, and the latter would be 00:50, so the two dates would differ, causing the assertion to fail. Quoting it prevents the YAML parser from getting involved. 2011-08-04 00:38:27 +01:00
migrations
models use existing model for testing Base.create with #after_initialize 2011-07-24 16:36:06 -04:00
schema use existing model for testing Base.create with #after_initialize 2011-07-24 16:36:06 -04:00
support Add require 'pathname' as it has not already been required in some circumstances 2011-06-17 14:55:34 +01:00
.gitignore Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases. 2011-06-04 23:47:03 +01:00
config.example.yml more oracle fixes 2011-06-06 15:47:29 -07:00
config.rb