rails/activerecord/test
Arthur Neves 815c9deae8
Block a few default Class methods as scope name.
Add tests to make sure scopes cannot be create with names such as:
private, protected, public.
Make sure enum values don't collide with those methods too.
2014-04-03 16:40:01 -04:00
..
active_record/connection_adapters Ensure disconnecting or reconnecting resets the transaction state 2012-09-15 00:03:04 +01:00
assets Added test to illustrate bad binary blobs. 2012-01-31 13:45:00 -06:00
cases Block a few default Class methods as scope name. 2014-04-03 16:40:01 -04:00
fixtures Extend fixture label replacement to allow string interpolation 2014-03-15 22:11:36 -04:00
migrations activerecord: Initialize Migration with version from MigrationProxy. 2014-01-06 10:46:35 -05:00
models Fix error when using with_options with lambda. 2014-04-03 10:26:37 -03:00
schema Fix error when using with_options with lambda. 2014-04-03 10:26:37 -03:00
support Add ConnectionHelper to refactor tests. 2014-04-03 01:06:43 -07: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 Simulated & actual (manual/skipped) PostgreSQL auto-reconnection tests. 2012-07-16 09:55:20 -07:00
config.rb