rails/activerecord/test/cases
Rafael Mendonça França 46bfabcfd4
Merge pull request #44547 from skipkayhil/fix-incorrect-assertions
fix remaining asserts that should be assert_equal
2022-09-12 20:32:42 -04:00
..
adapters Merge pull request #44547 from skipkayhil/fix-incorrect-assertions 2022-09-12 20:32:42 -04:00
arel fix remaining asserts that should be assert_equal 2022-09-09 19:22:21 -04:00
associations fix remaining asserts that should be assert_equal 2022-09-09 19:22:21 -04:00
attribute_methods Remove internal attribute decoration code 2020-07-20 13:26:25 +09:00
coders Change ActiveRecord::Coders::YAMLColumn default to safe_load 2022-07-12 09:26:46 -07:00
connection_adapters Fix missed test changes for pool method deprecations 2022-09-12 13:05:55 -04:00
database_configurations Add support for setting the schema/structure dump filepath in the config 2021-10-26 10:09:21 -04:00
encryption fix remaining asserts that should be assert_equal 2022-09-09 19:22:21 -04:00
fixture_set Validate keys in the _fixture field 2021-06-15 14:10:59 +02:00
migration Move SchemaMigration to an independent object 2022-09-08 11:32:32 -04:00
relation Require used model to fix isolated tests 2022-09-09 21:17:59 +00:00
scoping Revert "Optimize Active Record batching" 2022-06-20 18:12:34 +02:00
tasks Move InternalMetadata to an independent object 2022-09-12 09:17:02 -04:00
type Fix bug with TypeMap default values 2021-07-14 13:26:37 -04:00
validations Event.delete_all after UniquenessValidationWithIndexTest#test_uniqueness_on_relation 2022-05-30 14:47:52 +09:00
active_record_schema_test.rb Move InternalMetadata to an independent object 2022-09-12 09:17:02 -04:00
adapter_prevent_writes_test.rb Simplify regex detecting comments in sql query 2022-06-01 15:59:51 +03:00
adapter_test.rb Don't expect rollback to cause a reconnect 2022-07-30 00:55:54 +09:30
aggregations_test.rb
annotate_test.rb Remove requirement that SQL starts with SELECT 2021-04-21 10:11:38 +01:00
associations_test.rb prefix table_schema to ALTER TABLE ... VALIDATE CONSTRAINT for postgres 2022-07-19 17:56:22 +02:00
asynchronous_queries_test.rb Make connection_pool_list take an explicit argument 2022-09-07 14:44:18 -04:00
attribute_methods_test.rb Extend dangerous attribute methods with dangerous methods from Object 2022-08-25 03:09:36 +03:00
attributes_test.rb attribute should not require a connection is established 2021-02-02 15:04:23 +09:00
autosave_association_test.rb Fix error when saving an association with a relation named record 2022-01-17 21:46:54 +01:00
base_prevent_writes_test.rb Remove legacy_connection_handling 2022-04-04 09:36:13 -04:00
base_test.rb Fix bug in connection handler methods using all pools 2022-09-07 13:42:23 -04:00
batches_test.rb Add missing test ensuring no subqueries for whole table batching 2022-07-27 17:37:46 +03:00
binary_test.rb Remove dead test code for unsupported adapters 2020-04-12 03:30:25 +09:00
bind_parameter_test.rb activerecord: add log sql with unnamed bind test 2022-04-28 12:54:03 +02:00
boolean_test.rb
cache_key_test.rb Make #to_fs the default replacement for #to_s(:format) 2022-02-07 12:41:21 +01:00
calculations_test.rb Change ActiveRecord::Coders::YAMLColumn default to safe_load 2022-07-12 09:26:46 -07: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 Ensure connection_name is used everywhere 2022-07-11 13:44:57 -04:00
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 Squashed commit of the following: 2021-12-03 04:02:40 +00: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 Handle Date objects for PostgreSQL timestamptz columns 2022-06-07 13:12:40 +03:00
date_time_test.rb Fix tests for validation of default_timezone 2021-10-14 18:11:08 +00:00
defaults_test.rb Add binary column default value support to sqlite 2022-08-19 11:27:21 -07:00
delegated_type_test.rb Add accepts_nested_attributes_for support when using delegated_type (#41717) 2021-11-03 14:10:55 +01:00
dirty_test.rb Change ActiveRecord::Coders::YAMLColumn default to safe_load 2022-07-12 09:26:46 -07:00
disconnected_test.rb Simplify adapter construction; defer connect until first use 2022-07-30 00:55:48 +09:30
dup_test.rb Add option for default_scope to run on all queries 2020-12-01 11:15:08 -05:00
enum_test.rb Raise when defining an enum not backed by a database column 2022-08-03 11:14:45 +03: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 Enable Style/ExplicitBlockArgument cop 2021-09-05 17:06:19 +02:00
filter_attributes_test.rb Change ActiveRecord::Coders::YAMLColumn default to safe_load 2022-07-12 09:26:46 -07: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 Do not mutate relation when implicitly selecting a primary key in ActiveRecord.find 2022-09-02 16:38:06 +03:00
fixtures_test.rb prefix table_schema to ALTER TABLE ... VALIDATE CONSTRAINT for postgres 2022-07-19 17:56:22 +02:00
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb Avoid removing a PostgreSQL extension when there are dependent objects 2022-07-22 15:17:18 +03:00
hot_compatibility_test.rb Fix bug in connection handler methods using all pools 2022-09-07 13:42:23 -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 Accept empty list of attributes for insert_all, insert_all! and upsert_all 2022-08-02 13:21:31 +03: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
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 Fix ruby-master test suite (Psych 4.0.0) 2021-05-19 14:21:21 +02:00
locking_test.rb List changed attrs in pessimistic lock error 2022-01-20 19:13:16 +01:00
log_subscriber_test.rb Add italic and underline support to ActiveSupport::LogSubscriber#color 2022-09-09 22:55:33 -05: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 Fix bug in internal metadata 2022-09-12 16:02:59 -04: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 Merge pull request #44547 from skipkayhil/fix-incorrect-assertions 2022-09-12 20:32:42 -04: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 Removes require_dependency from the AR test suite 2020-05-06 09:01:38 +02:00
nested_attributes_test.rb Add accepts_nested_attributes_for support when using delegated_type (#41717) 2021-11-03 14:10:55 +01:00
nested_attributes_with_callbacks_test.rb Methods with association name are defined as public methods 2020-10-02 22:22:10 +09: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 Normalize virtual attributes on ActiveRecord::Persistence#becomes 2022-08-24 22:51:57 +02:00
pooled_connections_test.rb Fix bug in connection handler methods using all pools 2022-09-07 13:42:23 -04:00
prepared_statement_status_test.rb
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 Dump the precision for datetime columns following the new defaults 2022-02-08 01:36:06 +00:00
query_cache_test.rb Make connection_pool_list take an explicit argument 2022-09-07 14:44:18 -04:00
query_logs_test.rb Remove requirement that query ends with comments 2022-01-03 10:17:33 -03:00
quoting_test.rb Deprecate quoting ActiveSupport::Duration as an integer 2022-08-04 09:15:58 -07: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 Derive foreign key from model name in has_many associations 2021-05-12 15:21:31 -04:00
relation_test.rb Sort the results as order not guaranteed 2022-01-13 16:31:36 +00:00
relations_test.rb find_or_create_by: handle race condition by finding again 2022-08-02 09:58:26 +02:00
reload_models_test.rb
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 Move SchemaMigration to an independent object 2022-09-08 11:32:32 -04: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 Change ActiveRecord::Coders::YAMLColumn default to safe_load 2022-07-12 09:26:46 -07:00
shard_selector_test.rb Add automatic shard swapping middleware 2021-11-18 08:18:45 -05:00
signed_id_test.rb Add more tests for find_signed/! methods 2020-10-30 12:34:54 +02: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 Use #to_hash to serialize AS::HWIA & Hash for stored attributes 2022-08-25 00:28:48 +05:30
strict_loading_test.rb Merge pull request #45016 from adrianna-chang-shopify/ac-fix-strict-loading-polymorphic-associations 2022-05-05 11:32:16 -04:00
suppressor_test.rb
test_case.rb fix remaining asserts that should be assert_equal 2022-09-09 19:22:21 -04: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 Revert "Merge pull request #39613 from kamipo/where_with_custom_operator" 2020-07-17 21:05:48 +09:00
timestamp_test.rb Fix failing tests due to datetime with precision is not supported on MySQL 5.5 2021-10-14 18:18:54 +09:00
token_for_test.rb Add ActiveRecord::Base::generates_token_for (#44189) 2022-06-18 20:00:53 +02:00
touch_later_test.rb
transaction_callbacks_test.rb Run transactional callbacks on instances most likely to match DB state 2022-06-14 13:34:25 -04:00
transaction_isolation_test.rb
transactions_test.rb Fix bug in connection handler methods using all pools 2022-09-07 13:42:23 -04: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 Simplify adapter construction; defer connect until first use 2022-07-30 00:55:48 +09:30
yaml_serialization_test.rb Change ActiveRecord::Coders::YAMLColumn default to safe_load 2022-07-12 09:26:46 -07:00