1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases
schneems 93ee268ef4 Preserve up and down return type
In Rails 4.2 calling `ActiveRecord::Migrator.migrate` would return an array of results. Without realizing that this return type was expected I accidentally introduced a change in 4d60e93174

This PR preserves the previous behavior and adds a test on the return type. This will need a backport to 5.0 branch.
2017-01-06 13:30:42 -06:00
..
adapters Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
associations Raise error when has_many through is defined before through association 2017-01-04 11:56:08 +00:00
attribute_methods Deprecate the behavior of AR::Dirty inside of after_(create|update|save) callbacks 2016-11-01 13:16:33 -04:00
coders
connection_adapters #tables and #table_exists? and returns only tables and not views 2016-12-29 17:53:04 -05:00
connection_specification Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
fixture_set Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
migration Raises when ActiveRecord::Migration is inherited directly. 2016-12-29 17:53:04 -05:00
relation self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
scoping Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
tasks Remove duplicated test 2017-01-02 16:30:56 +01:00
type Moved database-specific ActiveModel types into ActiveRecord 2016-10-14 20:21:20 +01:00
validations fix the uniqueness validation scope with a polymorphic association 2016-11-26 18:49:00 +03:00
adapter_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
aggregations_test.rb
ar_schema_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
associations_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
attribute_decorators_test.rb
attribute_methods_test.rb "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09:00
attribute_set_test.rb "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09:00
attribute_test.rb
attributes_test.rb Make the second argument to attribute optional 2016-11-30 12:47:31 -05:00
autosave_association_test.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
base_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
batches_test.rb
binary_test.rb
bind_parameter_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
cache_key_test.rb
calculations_test.rb Require "models/post" before "models/comment" 2017-01-04 21:13:05 +00:00
callbacks_test.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
clone_test.rb
collection_cache_key_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
column_alias_test.rb
column_definition_test.rb
comment_test.rb Fix that change_column lose a comment 2016-12-05 07:16:08 +09:00
connection_management_test.rb
connection_pool_test.rb Fix Rubocop violations and fix documentation visibility 2016-12-28 21:53:51 -05:00
core_test.rb
counter_cache_test.rb Fix update counters of multiple records with touch: true 2017-01-03 01:40:04 +09:00
custom_locking_test.rb
database_statements_test.rb Remove deprecated #insert_sql, #update_sql, and #delete_sql 2016-12-30 21:14:59 +09:00
date_test.rb
date_time_precision_test.rb
date_time_test.rb
defaults_test.rb Translate NOT NULL violation to the specific exception 2016-12-06 16:51:20 +09:00
dirty_test.rb Deprecate the behavior of AR::Dirty inside of after_(create|update|save) callbacks 2016-11-01 13:16:33 -04:00
disconnected_test.rb
dup_test.rb
enum_test.rb Add tests for ActiveRecord::Enum#enum when suffix specified 2016-09-12 08:52:02 +09:00
errors_test.rb Raise when a through association has an ambiguous reflection name 2016-12-29 17:53:04 -05:00
explain_subscriber_test.rb
explain_test.rb
finder_respond_to_test.rb
finder_test.rb Fix find_by and where consistency 2017-01-04 12:27:44 +09:00
fixtures_test.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
forbidden_attributes_protection_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
habtm_destroy_order_test.rb
helper.rb Set time as a timezone aware type and remove related deprecation 2016-12-29 17:53:03 -05:00
hot_compatibility_test.rb Fix broken comments indentation caused by rubocop auto-correct [ci skip] 2016-09-14 18:26:32 +09:00
i18n_test.rb
inheritance_test.rb Cache results of computing model type 2017-01-03 19:02:38 +05:00
integration_test.rb "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09:00
invalid_connection_test.rb
invertible_migration_test.rb #tables and #table_exists? and returns only tables and not views 2016-12-29 17:53:04 -05:00
json_serialization_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
locking_test.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
log_subscriber_test.rb
migration_test.rb Privatize unneededly protected methods in Active Record 2017-01-05 20:01:02 +09:00
migrator_test.rb Preserve up and down return type 2017-01-06 13:30:42 -06:00
mixin_test.rb
modules_test.rb
multiparameter_attributes_test.rb fix datatime error 2016-11-01 18:17:26 -07:00
multiple_db_test.rb
nested_attributes_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
nested_attributes_with_callbacks_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
persistence_test.rb fixing update_all and delete_all when chained with left_joins. fixes #27192 2016-11-27 19:47:51 -02:00
pooled_connections_test.rb
primary_keys_test.rb Remove useless test_supports_primary_key 2016-12-19 11:10:05 +09:00
query_cache_test.rb Fix style guide violations 2017-01-05 00:40:24 -05:00
quoting_test.rb Remove deprecated support to passing a column to #quote 2016-12-29 17:53:03 -05:00
readonly_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
reaper_test.rb
reflection_test.rb Cache results of computing model type 2017-01-03 19:02:38 +05:00
relation_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
relations_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
reload_models_test.rb
result_test.rb
sanitize_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
schema_dumper_test.rb Consolidate duplicated elsif branch 2016-12-19 13:26:04 +09:00
schema_loading_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
secure_token_test.rb assert_equal takes expectation first 2016-12-26 11:04:56 +09:00
serialization_test.rb
serialized_attribute_test.rb assert_equal takes expectation first 2016-12-26 11:04:56 +09:00
statement_cache_test.rb
store_test.rb
suppressor_test.rb
test_case.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
test_fixtures_test.rb Remove deprecated #use_transactional_fixtures configuration 2016-12-29 17:53:04 -05:00
time_precision_test.rb
timestamp_test.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
touch_later_test.rb
transaction_callbacks_test.rb Emulate db trigger behaviour for after_commit :destroy, :update 2016-12-09 11:14:37 -05:00
transaction_isolation_test.rb
transactions_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
type_test.rb
types_test.rb
unconnected_test.rb
validations_repair_helper.rb
validations_test.rb
view_test.rb #tables and #table_exists? and returns only tables and not views 2016-12-29 17:53:04 -05:00
yaml_serialization_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00