rails--rails/activerecord/test/cases
Nikita Vasilevsky 1a55df5594
Fix default scope with all_queries on reload test name
2021-09-23 20:07:41 -04:00
..
adapters PostgreSQL: support custom enum types 2021-09-22 16:34:10 -05:00
arel Support NullsFirst for all databases. 2021-05-18 16:58:21 -04:00
associations Use `polymorphic_class_for` over `constantize` 2021-09-06 17:16:43 -04:00
attribute_methods Remove internal attribute decoration code 2020-07-20 13:26:25 +09:00
coders
connection_adapters Add ability to ignore tables in the schema cache 2021-08-26 15:04:34 -04:00
database_configurations Merge PR #42840 2021-09-22 18:11:40 -04:00
encryption Make active record encryption work with store attributes 2021-08-14 11:06:51 +02:00
fixture_set Validate keys in the `_fixture` field 2021-06-15 14:10:59 +02:00
migration Adds support for deferrable foreign key constraints in PostgreSQL 2021-09-16 16:40:10 +02:00
relation Avoid scoping update transaction when calling update! on a relation 2021-09-09 12:09:03 -04:00
scoping Fix default scope with all_queries on reload test name 2021-09-23 20:07:41 -04:00
tasks Avoid comment calls in pg:dump 2021-09-13 22:33:32 +02:00
type Fix bug with TypeMap default values 2021-07-14 13:26:37 -04:00
validations Fix build 2021-04-06 11:13:33 -07:00
adapter_prevent_writes_test.rb Make `legacy_connection_handling` a module instance variable 2021-06-10 15:00:20 +02:00
adapter_test.rb Allow async executor to be configurable 2021-02-19 12:34:57 -05:00
aggregations_test.rb
annotate_test.rb Remove requirement that SQL starts with SELECT 2021-04-21 10:11:38 +01:00
ar_schema_test.rb Active Record + PostgreSQL: native support for `timestamp with time zone` 2021-05-06 17:41:55 -05:00
associations_test.rb Add `available_records` argument to Associations::Preloader 2021-07-14 08:44:03 -04:00
asynchronous_queries_test.rb Move async_query confurations on the ActiveRecord module 2021-06-10 18:31:33 +02:00
attribute_methods_test.rb Fix CI failure caused by error_highlight gem 2021-07-02 17:44:10 +09:00
attributes_test.rb `attribute` should not require a connection is established 2021-02-02 15:04:23 +09:00
autosave_association_test.rb Make `index_nested_attribute_errors` a module instance variable 2021-06-11 09:04:30 +02:00
base_prevent_writes_test.rb Depend on ruby/debug, replacing Byebug 2021-09-08 17:35:41 +02:00
base_test.rb Implement support for before_remove_const in zeitwek mode 2021-08-09 13:15:10 +02:00
batches_test.rb Convert many ActiveRecord::Base class variable into instance variables 2021-06-10 18:31:33 +02:00
binary_test.rb Remove dead test code for unsupported adapters 2020-04-12 03:30:25 +09:00
bind_parameter_test.rb Fix `unprepared_statement` to work it when nesting 2021-02-12 22:47:27 +09:00
boolean_test.rb Type cast falsy boolean symbols on boolean attribute as false 2019-03-30 04:18:25 +09:00
cache_key_test.rb
calculations_test.rb Allow Relation#sum to take an `init` parameters 2021-05-10 13:37:25 +02: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 Clear `@cache_keys` cache even when eager loading 2021-04-10 21:28:28 +09: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 feat(rubocop): Add Style/RedundantRegexpEscape 2020-12-08 18:57:09 +00:00
connection_management_test.rb Allow Adapter#select_all to be performed asynchronously from a background thread pool 2021-02-08 19:17:52 +01:00
connection_pool_test.rb Fix preventing writes for ApplicationRecord 2021-01-06 09:19:19 -05:00
core_test.rb Add DATE_FORMATS[:inspect] 2020-05-06 15:05:02 -05:00
counter_cache_test.rb touch_attributes_with_time takes keyword arguments 2020-04-17 18:55:58 +09:00
custom_locking_test.rb
database_configurations_test.rb Replace kwarg for displaying all configurations 2021-08-17 09:27:18 -04:00
database_selector_test.rb Revert "Disable automatic write protection on replicas" 2021-06-25 11:35:51 -04:00
database_statements_test.rb Enable `Layout/EmptyLinesAroundAccessModifier` cop 2019-06-13 12:00:45 +09:00
date_test.rb
date_time_precision_test.rb Set precision 6 by default for datetime 2021-06-25 09:23:01 +01:00
date_time_test.rb Use `supports_datetime_with_precision?` rather than `subsecond_precision_supported?` 2020-04-25 02:56:53 +09:00
defaults_test.rb Merge pull request #40822 from fatkodima/fix-mysql-column-default 2021-07-27 23:30:26 +02:00
delegated_type_test.rb Allow delegated_type to be specified primary_key and foreign_key 2020-12-18 15:06:16 +09:00
dirty_test.rb Revert "Extract methods `assert_queries` and `assert_no_queries`" 2021-06-17 13:35:25 -04:00
disconnected_test.rb Revert "Merge pull request #19881 from sikachu/silence-mysql-errno-warning" 2020-09-14 14:02:45 +09:00
dup_test.rb Add option for `default_scope` to run on all queries 2020-12-01 11:15:08 -05:00
enum_test.rb Remove warning when overwriting existing scopes 2021-09-10 17:00:10 -07: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
explain_test.rb Enable `Style/ExplicitBlockArgument` cop 2021-09-05 17:06:19 +02:00
filter_attributes_test.rb Add an assertion to the regression test 2021-03-23 21:41:36 -07:00
finder_respond_to_test.rb Enable `Layout/EmptyLinesAroundAccessModifier` cop 2019-06-13 12:00:45 +09:00
finder_test.rb make Model.find_by! error consistent 2021-06-11 11:33:51 -04:00
fixtures_test.rb Raise error on invalid fixture primary key 2021-07-14 08:54:38 -04:00
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb Merge pull request #40822 from fatkodima/fix-mysql-column-default 2021-07-27 23:30:26 +02:00
hot_compatibility_test.rb Enable `Layout/EmptyLinesAroundAccessModifier` cop 2019-06-13 12:00:45 +09:00
i18n_test.rb
inheritance_test.rb Restore autoloading test for STI 2021-08-22 01:13:00 +02:00
insert_all_test.rb Use full precision for `updated_at` in `insert_all`/`upsert_all` 2021-08-27 00:29:44 -04: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 Use `supports_datetime_with_precision?` rather than `subsecond_precision_supported?` 2020-04-25 02:56:53 +09:00
invalid_connection_test.rb
invertible_migration_test.rb Allow adding nonnamed expression indexes to be revertible 2020-12-11 18:24:45 +02:00
json_attribute_test.rb
json_serialization_test.rb Address intermittent CI failure due to non-determined sort order 2021-03-30 02:18:53 +09: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 Accept optional transaction args to #with_lock 2021-09-23 09:43:00 -04:00
log_subscriber_test.rb Report async queries lock wait duration 2021-06-25 13:59:47 +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 Enable `Style/ExplicitBlockArgument` cop 2021-09-05 17:06:19 +02:00
migrator_test.rb Sort migration ID as int in db:migrate:status for consistency. 2021-07-16 13:10:31 -05: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 Refactor schema migration on connection 2020-03-09 09:59:36 -04:00
multiparameter_attributes_test.rb
multiple_db_test.rb Removes require_dependency from the AR test suite 2020-05-06 09:01:38 +02:00
nested_attributes_test.rb Fix CI failure caused by error_highlight gem 2021-07-02 17:44:10 +09: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 Avoid running async queries on null relations 2021-05-17 21:34:41 +01:00
numeric_data_test.rb
persistence_test.rb Fix the Active Record test suite following fcc83e4738 2021-06-10 12:30:35 +02:00
pooled_connections_test.rb Remove dead code in tests 2020-04-11 17:41:40 +01: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 Make `application_record_class` a module instance variable 2021-06-10 18:24:38 +02:00
primary_keys_test.rb Compute table name based on model name 2021-05-12 12:34:56 -04:00
query_cache_test.rb Enable `Style/ExplicitBlockArgument` cop 2021-09-05 17:06:19 +02:00
query_logs_test.rb Refactor ActiveRecord::QueryLogs hook point 2021-08-25 14:25:42 +02:00
quoting_test.rb Deprecate passing an Active Record object to `quote`/`type_cast` directly 2020-05-31 12:38:29 +09:00
readonly_test.rb
reaper_test.rb Fix preventing writes for ApplicationRecord 2021-01-06 09:19:19 -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 Remove no-op `PredicateBuilder::BaseHandler` constant 2021-02-18 17:04:15 +09:00
relations_test.rb Fix `eager_loading?` when ordering with `Symbol` 2021-07-30 10:19:07 +02:00
reload_models_test.rb
reserved_word_test.rb
result_test.rb Remove deprecated `ActiveRecord::Result#to_hash` method 2020-10-30 00:25:33 +00:00
sanitize_test.rb [AR] Fix typo of disallow_raw_sql! exception msg 2021-06-28 10:22:30 +08:00
schema_dumper_test.rb Merge pull request #40822 from fatkodima/fix-mysql-column-default 2021-07-27 23:30:26 +02:00
schema_loading_test.rb Enable `Layout/EmptyLinesAroundAccessModifier` cop 2019-06-13 12:00:45 +09:00
secure_token_test.rb Allow token length configuration for has_secure_token method 2019-04-09 17:25:50 -04:00
serialization_test.rb to_json and from_json are public methods 2020-10-02 22:22:10 +09:00
serialized_attribute_test.rb Allow `serialize` attribute on `alias_attribute` 2021-02-08 20:47:19 +09:00
signed_id_test.rb Add more tests for `find_signed/!` methods 2020-10-30 12:34:54 +02:00
statement_cache_test.rb Reset statement cache for association if table_name is changed 2020-05-29 15:12:18 +09:00
statement_invalid_test.rb
store_test.rb Address "NameError: Rails couldn't find a valid model for Club association" 2021-08-05 12:40:19 +09:00
strict_loading_test.rb Address "NameError: Rails couldn't find a valid model for Club association" 2021-08-05 12:40:19 +09:00
suppressor_test.rb
test_case.rb Enable `Style/ExplicitBlockArgument` cop 2021-09-05 17:06:19 +02: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 Make `legacy_connection_handling` a module instance variable 2021-06-10 15:00:20 +02: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 Allow attribute aliases for timestamp magic columns 2020-06-01 21:29:33 +09:00
touch_later_test.rb Fix typo for touch later test description. laster -> later 2019-04-05 19:33:19 +05:30
transaction_callbacks_test.rb Make sure the :if options of callbacks is not mutated 2020-12-29 03:56:54 +00:00
transaction_isolation_test.rb Don't run concurrent transaction test on sqlite3: 2019-12-17 17:15:23 +01:00
transactions_test.rb Ensure the connection used in a failed rollback is discarded 2020-11-04 17:01:07 -05: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 Deprecate "primary" as a connection_specification_name for ActiveRecord::Base 2020-01-08 16:49:41 -05:00
unsafe_raw_sql_test.rb [AR] Fix typo of disallow_raw_sql! exception msg 2021-06-28 10:22:30 +08: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
yaml_serialization_test.rb Fix ruby-master test suite (Psych 4.0.0) 2021-05-19 14:21:21 +02:00