rails/activerecord/test/cases
Yves Senn ea3af7ee14 tests are responsible to clean up afterwards.
remove created state after test execution, not before the next test.
This prevents the leak of the `ex` table outside of a single test.
2014-02-13 16:45:56 +01:00
..
adapters tests are responsible to clean up afterwards. 2014-02-13 16:45:56 +01:00
associations context in validation goes through has many relationship 2014-02-08 08:44:10 -08:00
attribute_methods initialize generated modules on inclusion and on inheritence 2013-07-02 17:11:35 -07:00
coders
connection_adapters Restore DATABASE_URL even if it's nil in connection_handler test 2014-01-10 10:06:19 +05:30
connection_specification Allow "url" sub key in database.yml configuration 2013-12-30 12:21:14 -05:00
fixture_set Introduce a context for rendering fixtures ERB. 2013-12-03 02:52:26 -05:00
migration make change_column_null reversible. Closes #13576. 2014-01-08 15:51:06 +01:00
relation Handle aliased attributes in AR::Relation#select, #order, etc. 2014-01-29 09:16:46 +09:00
scoping Remove warnings for already defined methods 2014-02-01 16:27:58 -02:00
tasks create/drop test and development databases only if RAILS_ENV is nil 2014-01-08 14:37:07 +01:00
validations use the new clear_validators! api everywhere to reset validators in tests 2014-01-28 00:13:35 +05:30
adapter_test.rb Fix regression on .select_* methods. 2014-01-30 14:06:40 -05:00
aggregations_test.rb
ar_schema_test.rb
associations_test.rb Calling reset on a collection association should unload the assocation 2014-01-21 18:24:28 -08:00
attribute_methods_test.rb Fix AR#method_missing re-dispatching into overwritten attribute methods. 2013-09-29 18:58:50 +02:00
autosave_association_test.rb Add test case for autosave HasMany with accepts_nested_attributes. 2014-02-08 18:57:26 -02:00
base_test.rb Ensure #second acts like #first AR finder 2014-01-20 16:58:18 -05:00
batches_test.rb Return sized enumerator from Batches#find_each 2014-02-05 16:53:02 -05:00
binary_test.rb
bind_parameter_test.rb log bind variables after they were type casted. 2013-11-09 11:23:34 +01:00
calculations_test.rb Ensure AR #second, #third, etc. finders work through associations 2014-01-21 19:35:27 -05:00
callbacks_test.rb
clone_test.rb
column_alias_test.rb
column_definition_test.rb Fixed typo in column_definition_test.rb. 2014-02-05 16:51:34 +08:00
column_test.rb prevent global timezone state from leaking out of test cases. 2013-10-25 14:40:57 +02:00
connection_management_test.rb set encoding to binmode for pipe 2014-01-17 16:49:10 -05:00
connection_pool_test.rb Reaper has access to threadsafe active? call 2014-02-08 17:38:54 -08:00
core_test.rb
counter_cache_test.rb
custom_locking_test.rb
database_statements_test.rb
date_time_test.rb prevent global timezone state from leaking out of test cases. 2013-10-25 14:40:57 +02:00
defaults_test.rb
dirty_test.rb Add integration test for #12459 2013-12-05 21:32:51 -02:00
disconnected_test.rb Don't skip tests if we don't need to. 2013-11-08 13:59:07 -02:00
dup_test.rb Don't need to check if the scope respond to call 2013-08-31 14:53:28 -03:00
enum_test.rb Remove unused variable. 2014-01-31 00:50:09 -05:00
explain_subscriber_test.rb
explain_test.rb
finder_respond_to_test.rb Fixed a bug in AR::Base#respond_to? 2014-01-29 10:53:48 -08:00
finder_test.rb Fix ActiveRecord::RecordNotFound error message with custom primary key 2014-01-25 02:29:23 +05:30
fixtures_test.rb Skips linked folder tests if symlink is invalid 2014-02-09 02:52:32 +02:00
forbidden_attributes_protection_test.rb Add regression test to #12343 2013-09-24 20:59:26 -03:00
habtm_destroy_order_test.rb
helper.rb Disable available locales checks to avoid warnings running the tests 2013-12-17 09:05:41 -02:00
hot_compatibility_test.rb recover from test runs that leave the database in a bad state 2014-01-13 15:02:28 -08:00
i18n_test.rb
inheritance_test.rb Ensure AR #second, #third, etc. finders work through associations 2014-01-21 19:35:27 -05:00
integration_test.rb Fix test for cache_key + touched 2014-01-16 09:05:55 -02:00
invalid_connection_test.rb Changed message for Model.inspect 2013-11-09 20:57:09 +01:00
invalid_date_test.rb
invertible_migration_test.rb
json_serialization_test.rb
locking_test.rb Correctly send the string given to lock! and reload(:lock) to the lock scope - fixes #13788 2014-01-29 12:37:00 -03:00
log_subscriber_test.rb Don't skip tests if we don't need to. 2013-11-08 13:59:07 -02:00
migration_test.rb we have with_env_tz as global test helper. Remove duplicate. 2014-01-16 09:34:49 +01:00
migrator_test.rb Revert "Used Yield instead of block.call" -- this causes all of atom_feed_helper_test.rb to fail with "SystemStackError: stack level too deep". 2013-11-14 15:31:27 -08:00
mixin_test.rb Remove automatic removal of Date/Time stubs after each test case 2014-01-30 10:17:48 -02:00
modules_test.rb add missing require 2013-10-02 17:04:02 -07:00
multiparameter_attributes_test.rb Don't skip tests if we don't need to. 2013-11-08 13:59:07 -02:00
multiple_db_test.rb Deprecate use of string in establish_connection as connection lookup 2013-12-24 10:18:54 +01:00
nested_attributes_test.rb
nested_attributes_with_callbacks_test.rb Use assert_not rather than refute 2013-08-12 15:21:21 +02:00
persistence_test.rb use the new clear_validators! api everywhere to reset validators in tests 2014-01-28 00:13:35 +05:30
pooled_connections_test.rb remove dead code 2013-07-08 16:30:10 -07:00
primary_keys_test.rb docs, AR already auto-detects primary keys. Closes #13946. [ci skip] 2014-02-05 08:52:59 +01:00
query_cache_test.rb use teardown for cleanup, not setup. 2014-01-16 09:33:45 +01:00
quoting_test.rb prevent global timezone state from leaking out of test cases. 2013-10-25 14:40:57 +02:00
readonly_test.rb
reaper_test.rb Reaper has access to threadsafe active? call 2014-02-08 17:38:54 -08:00
reflection_test.rb scope_chain should not be mutated for other reflections 2013-10-14 11:59:59 -04:00
relation_test.rb Improve tests to use only public API 2013-12-31 21:04:11 -02:00
relations_test.rb Handle aliased attributes in AR::Relation#select, #order, etc. 2014-01-29 09:16:46 +09:00
reload_models_test.rb
result_test.rb Return sized enumerator from Batches#find_each 2014-02-05 16:53:02 -05:00
sanitize_test.rb add activerecord test coverage for sanitize_sql_array 2014-02-09 12:05:42 +00:00
schema_dumper_test.rb sqlite >= 3.8.0 supports partial indexes 2014-01-14 08:53:32 -07:00
serialization_test.rb
serialized_attribute_test.rb prevent global timezone state from leaking out of test cases. 2013-10-25 14:40:57 +02:00
statement_cache_test.rb
store_test.rb Aesthetic 2014-01-29 20:48:43 -02:00
test_case.rb Do not count query for all_constraints and all_tab_cols in Oracle 2013-11-18 11:59:36 +09:00
timestamp_test.rb polymorphic belongs_to association with touch: true updates old record correctly 2013-12-05 16:03:07 +01:00
transaction_callbacks_test.rb Make sure transaction state resets after commit 2014-02-03 15:49:48 -05:00
transaction_isolation_test.rb Deprecate use of string in establish_connection as connection lookup 2013-12-24 10:18:54 +01:00
transactions_test.rb Restore ActiveRecord states after a rollback for models w/o callbacks 2014-01-18 11:16:52 -08:00
unconnected_test.rb
validations_repair_helper.rb
validations_test.rb Prefer assert_raise instead of flunk + rescue to test for exceptions 2013-12-19 09:20:51 -02:00
xml_serialization_test.rb prevent global timezone state from leaking out of test cases. 2013-10-25 14:40:57 +02:00
yaml_serialization_test.rb Add test for ActiveRecord::Relation YAML serialization, for #5303 issue 2013-11-03 21:35:44 +07:00