rails/activerecord/test/cases
Yasuo Honda d0d9e8e576
Merge pull request #47552 from lsylvester/where-include-index
Allow both include and where on PostgreSQL add_index
2023-03-06 18:33:01 +09:00
..
adapters Capture output from PostgreSQL notice receiver in a test 2023-02-28 23:00:10 +02:00
arel Merge pull request #45642 from kbrock/quoted_columns 2023-03-03 09:09:27 -05:00
associations Merge PR #45463 2023-03-03 22:58:01 +00:00
attribute_methods Remove internal attribute decoration code 2020-07-20 13:26:25 +09:00
coders Allow to define the default column serializer 2023-02-22 19:32:28 +01:00
connection_adapters Allow applications to register custom database configurations 2023-02-28 10:12:28 -05:00
database_configurations Add support for setting the schema/structure dump filepath in the config 2021-10-26 10:09:21 -04:00
encryption Add option to configure digest algorithm used by Active Record Encryption (#44873) 2023-02-27 10:16:41 +01:00
fixture_set Validate keys in the _fixture field 2021-06-15 14:10:59 +02:00
migration support using both include and where at the same time on a PostgreSQL index 2023-03-02 17:03:52 +11:00
relation Add class name to ActiveModel::MissingAttributeError error message. 2023-03-03 14:31:22 +01:00
scoping AR adapter helpers are now available only within AR::TestCase class 2023-01-01 21:43:24 +09:00
tasks Move adapter specific tests to the adapter folder 2023-02-07 19:04:23 +00:00
type Avoid double type cast when serializing attributes 2022-09-29 11:34:29 -05:00
validations Improve typography of user facing validation messages 2023-02-25 08:21:19 -08:00
active_record_schema_test.rb Clear metadata tables in tests instead of droping 2023-01-11 02:56:49 +02:00
adapter_prevent_writes_test.rb Simplify regex detecting comments in sql query 2022-06-01 15:59:51 +03:00
adapter_test.rb Actually ask the transaction about the state 2023-01-12 00:07:46 +00:00
aggregations_test.rb Fix composed_of freezing and duplication 2022-11-25 17:36:12 +01:00
annotate_test.rb Make sanitize_as_sql_comment more strict 2023-01-17 11:38:11 -08:00
associations_test.rb Merge pull request #47566 from Shopify/do-not-use-query-constraints-if-association-doesnt-explicitly-specifies-it 2023-03-03 09:14:50 -05:00
asynchronous_queries_test.rb Wait longer for future results in tests 2023-01-29 12:43:26 +10:30
attribute_methods_test.rb Add class name to ActiveModel::MissingAttributeError error message. 2023-03-03 14:31:22 +01:00
attributes_test.rb attribute should not require a connection is established 2021-02-02 15:04:23 +09:00
autosave_association_test.rb Improve typography of user facing validation messages 2023-02-25 08:21:19 -08:00
base_prevent_writes_test.rb Remove legacy_connection_handling 2022-04-04 09:36:13 -04:00
base_test.rb Fix ActiveRecord grouped calculations on joined tables on column present in both tables 2023-01-07 21:56:13 +02:00
batches_test.rb Speedup activerecord tests 2023-02-25 02:04:10 +02:00
binary_test.rb Remove dead test code for unsupported adapters 2020-04-12 03:30:25 +09:00
bind_parameter_test.rb Accept nodes directly in AbstractAdapter#to_sql 2023-01-29 18:35:32 +10:30
boolean_test.rb
cache_key_test.rb Add class name to ActiveModel::MissingAttributeError error message. 2023-03-03 14:31:22 +01:00
calculations_test.rb Remove deprecated override of Enumerable#sum 2023-03-03 00:38:26 +00:00
callbacks_test.rb Remove require "active_support/core_ext/symbol/starts_ends_with" 2021-02-09 22:31:09 +09:00
clone_test.rb Add ActiveRecord::Base#previously_persisted? 2021-06-04 13:06:51 +02:00
collection_cache_key_test.rb Reset cache_versions on relation 2022-06-14 10:21:01 -04:00
column_alias_test.rb Use current_adapter? over ActiveRecord::Base.connection.adapter_name in tests 2021-02-25 13:08:08 +09:00
column_definition_test.rb
comment_test.rb Fix change_column_comment to preserve column's AUTO_INCREMENT in the MySQL adapter 2022-02-18 20:04:01 +02:00
connection_management_test.rb Fix missed test changes for pool method deprecations 2022-09-12 13:05:55 -04:00
connection_pool_test.rb Avoid possible reaping during connection pool fairness test 2023-02-05 16:32:24 +10:30
core_test.rb Add test for inspecting a Relation with a virtual field 2022-03-10 11:35:51 +01:00
counter_cache_test.rb Skip resetting correct counter caches 2022-05-22 18:40:00 +03:00
custom_locking_test.rb
database_configurations_test.rb Allow configs_for to accept a custom hash key 2023-02-28 12:12:08 -05:00
database_selector_test.rb Multi database: define reading_request? in resolver 2022-04-23 12:05:59 +10:00
database_statements_test.rb
date_test.rb
date_time_precision_test.rb AR adapter helpers are now available only within AR::TestCase class 2023-01-01 21:43:24 +09:00
date_time_test.rb Fix tests for validation of default_timezone 2021-10-14 18:11:08 +00:00
defaults_test.rb Remove unnecessary calls to establish_connection 2023-02-15 08:47:21 -05:00
delegated_type_test.rb Fix touching has_one grandparent associations 2022-11-05 22:09:40 -03:00
dirty_test.rb Avoid assuming that save is instant 2023-02-03 14:09:28 +10:30
disconnected_test.rb Remove unnecessary calls to establish_connection 2023-02-15 08:47:21 -05:00
dup_test.rb Clear locking column on #dup 2022-11-02 09:40:41 +09:00
enum_test.rb option to disable all methods that ActiveRecord.enum generates 2022-11-24 15:26:05 +04:00
errors_test.rb
excluding_test.rb Fix ArgumentError message for without method 2021-05-22 18:06:19 -03:00
explain_subscriber_test.rb Fix ActiveRecord's explain for queries starting with comments 2022-02-07 00:47:33 +02:00
explain_test.rb Fix stubbing method with arguments in activerecord/test/cases/explain_test.rb 2023-02-02 03:24:34 +02:00
filter_attributes_test.rb Reset the instace variable instead of removing it 2023-01-16 21:21:47 +00:00
finder_respond_to_test.rb Rename behaviour to behavior in test case names 2022-05-26 17:14:18 -04:00
finder_test.rb #last and #first finders should use query_constraints for ordering 2022-12-09 14:59:33 +00:00
fixtures_test.rb Speedup activerecord tests 2023-02-25 02:04:10 +02:00
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb Speedup activerecord tests 2023-02-25 02:04:10 +02:00
hot_compatibility_test.rb Deprecate delegation to connection handler from Base 2022-10-19 10:20:37 -04:00
i18n_test.rb
inheritance_test.rb Restore autoloading test for STI 2021-08-22 01:13:00 +02:00
insert_all_test.rb Respect the timezone, or these would fail on a particular day of the year 2023-01-01 04:45:50 +09:00
instrumentation_test.rb Improve the payload name for delete_all to more appropriate 2021-04-10 20:19:53 +09:00
integration_test.rb Make #to_fs the default replacement for #to_s(:format) 2022-02-07 12:41:21 +01:00
invalid_connection_test.rb AR adapter helpers are now available only within AR::TestCase class 2023-01-01 21:43:24 +09:00
invertible_migration_test.rb Avoid removing a PostgreSQL extension when there are dependent objects 2022-07-22 15:17:18 +03:00
json_attribute_test.rb
json_serialization_test.rb Change ActiveRecord::Coders::YAMLColumn default to safe_load 2022-07-12 09:26:46 -07:00
json_shared_test_cases.rb Allow to define the default column serializer 2023-02-22 19:32:28 +01:00
locking_test.rb AR adapter helpers are now available only within AR::TestCase class 2023-01-01 21:43:24 +09:00
log_subscriber_test.rb Fix Active Record :db_runtime metric 2022-09-15 10:43:33 +02:00
marshal_serialization_test.rb Update the marshalized object fixtures' version from 6.0 to 6.1 2021-02-18 17:04:15 +09:00
migration_test.rb Delete test that tests nothing 2023-02-14 16:15:40 -05:00
migrator_test.rb Move InternalMetadata to an independent object 2022-09-12 09:17:02 -04:00
mixin_test.rb
modules_test.rb Module#const_set is a public method 2020-09-15 17:19:37 +09:00
multi_db_migrator_test.rb Store correct environment in internal_metadata when run rails db:prepare 2023-01-05 00:00:11 +02:00
multiparameter_attributes_test.rb Make #to_fs the default replacement for #to_s(:format) 2022-02-07 12:41:21 +01:00
multiple_db_test.rb Remove unnecessary remove/establish_connection 2023-02-14 16:45:10 -05:00
nested_attributes_test.rb Improve typography of user facing validation messages 2023-02-25 08:21:19 -08:00
nested_attributes_with_callbacks_test.rb Methods with association name are defined as public methods 2020-10-02 22:22:10 +09:00
normalized_attribute_test.rb Rename ::normalize to ::normalize_value_for 2023-01-17 11:44:00 -06:00
null_relation_test.rb Replace async: true parameter by async_* methods 2022-04-14 09:55:24 +02:00
numeric_data_test.rb
persistence_test.rb Refactor query constraints feature set 2023-02-13 15:24:40 -05:00
pooled_connections_test.rb AR adapter helpers are now available only within AR::TestCase class 2023-01-01 21:43:24 +09:00
prepared_statement_status_test.rb Fix test failure if prepared_statements is flipped 2020-01-03 18:51:15 +09:00
primary_class_test.rb Only remove connection for an existing pool if the config is different 2022-06-29 11:25:17 -04:00
primary_keys_test.rb AR adapter helpers are now available only within AR::TestCase class 2023-01-01 21:43:24 +09:00
query_cache_test.rb Bump rubocop from 1.43.0 to 1.44.1 and fix offenses 2023-02-02 12:52:05 +09:00
query_logs_test.rb Passing the connection into the context for query transformers 2023-02-01 23:38:54 +00:00
quoting_test.rb Add ActiveRecord.deprecator 2022-10-25 14:23:08 -05:00
readonly_test.rb Fix touch to raise an error for readonly columns 2022-05-18 19:46:53 +03:00
reaper_test.rb Expose role/shard on pool/connection 2021-11-23 10:06:23 -05:00
reflection_test.rb Fix assigning through records when using polymorphic has many through association 2023-02-28 17:56:56 +00:00
relation_test.rb Make sanitize_as_sql_comment more strict 2023-01-17 11:38:11 -08:00
relations_test.rb Allow Arel.sql to accept bind parameters 2023-01-29 08:40:30 +10:30
reload_models_test.rb AR adapter helpers are now available only within AR::TestCase class 2023-01-01 21:43:24 +09:00
reserved_word_test.rb
result_test.rb Remove deprecated ActiveRecord::Result#map! and ActiveRecord::Result#collect! 2021-11-19 23:16:25 +00:00
sanitize_test.rb Improve sanitize_sql_like performance 2022-03-25 12:55:10 -05:00
schema_dumper_test.rb Speedup activerecord tests 2023-02-25 02:04:10 +02:00
schema_loading_test.rb
secure_password_test.rb Automatically reconnect to database mid-request 2022-07-26 22:07:35 +09:30
secure_token_test.rb
serialization_test.rb Change ActiveRecord::Coders::YAMLColumn default to safe_load 2022-07-12 09:26:46 -07:00
serialized_attribute_test.rb Respect permitted_classes for default yaml column serializer 2023-02-28 11:49:31 +01:00
shard_selector_test.rb Add automatic shard swapping middleware 2021-11-18 08:18:45 -05:00
signed_id_test.rb ActiveRecord::Base#signed_id: raise if called on a new record 2023-01-18 13:05:47 -07:00
statement_cache_test.rb Raise when defining an enum not backed by a database column 2022-08-03 11:14:45 +03:00
statement_invalid_test.rb Separate two groups of retryable DB exceptions 2022-07-26 22:07:35 +09:30
store_test.rb Do not write unchanged value to ActiveRecord::Store 2022-09-21 16:17:55 +00:00
strict_loading_test.rb Fix: StrictLoadingViolationError when concatenating or setting association when non-persisted owner has primary key 2022-12-12 10:38:37 -06:00
suppressor_test.rb
test_case.rb Move load_schema from Object to AR::TestCase 2023-01-01 21:43:24 +09:00
test_databases_test.rb Rename 'db' to 'test/db' in Active Record's tests 2020-03-03 13:31:12 +00:00
test_fixtures_test.rb Remove legacy_connection_handling 2022-04-04 09:36:13 -04:00
time_precision_test.rb AR adapter helpers are now available only within AR::TestCase class 2023-01-01 21:43:24 +09:00
timestamp_test.rb Add regression test for timestamp on before_save 2023-02-10 13:49:46 +00:00
token_for_test.rb Add ActiveRecord::Base::generates_token_for (#44189) 2022-06-18 20:00:53 +02:00
touch_later_test.rb Hide changes to before_committed! behaviour behind config 2022-12-15 11:43:51 -05:00
transaction_callbacks_test.rb Do not trigger after_commit :destroy callback again on destroy if record previously was destroyed 2022-10-21 11:20:58 -07:00
transaction_isolation_test.rb AR adapter helpers are now available only within AR::TestCase class 2023-01-01 21:43:24 +09:00
transactions_test.rb AR adapter helpers are now available only within AR::TestCase class 2023-01-01 21:43:24 +09:00
type_test.rb attribute should not require a connection is established 2021-02-02 15:04:23 +09:00
types_test.rb
unconnected_test.rb Ensure connection_name is used everywhere 2022-07-11 13:44:57 -04:00
unsafe_raw_sql_test.rb Accept nested functions in Dangerous Query Methods 2022-07-13 11:52:01 -07:00
validations_repair_helper.rb
validations_test.rb Exercise tests on decimal attribute values 2021-01-14 17:21:25 +09:00
view_test.rb AR adapter helpers are now available only within AR::TestCase class 2023-01-01 21:43:24 +09:00
yaml_serialization_test.rb Change ActiveRecord::Coders::YAMLColumn default to safe_load 2022-07-12 09:26:46 -07:00