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/migration
Akira Matsuda 048436213e Workaround for kwargs 2.7 and 2.6 incompatibility
Current Ruby 2.7 implementation behaves differently from 2.6 (by design)
where receiving an empty keyword arguments.

Thus, for now we need this if branch everywhere we're asserting such a method call
in order for the CI to pass.

We could revert this workaround if Ruby 2.7 decides to revert back to the 2.6 behavior,
or maybe we'll need to fix Minitest::Mock once the 2.7 spec became stable.
2019-09-11 12:24:32 +09:00
..
change_schema_test.rb SQLite3: Implement add_foreign_key and remove_foreign_key 2019-02-11 14:15:16 +09:00
change_table_test.rb Workaround for kwargs 2.7 and 2.6 incompatibility 2019-09-11 12:24:32 +09:00
column_attributes_test.rb Raise ArgumentError for invalid :limit and :precision like as other options 2019-04-07 16:14:42 +09:00
column_positioning_test.rb
columns_test.rb Cache database version in schema cache 2019-04-03 11:10:14 -04:00
command_recorder_test.rb Workaround for kwargs 2.7 and 2.6 incompatibility 2019-09-11 12:24:32 +09:00
compatibility_test.rb Move SchemaMigration to migration_context 2019-06-14 11:15:08 -04:00
create_join_table_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
foreign_key_test.rb Respect table name prefix/suffix for truncate_all 2019-04-04 04:16:24 +09:00
helper.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
index_test.rb Accept columns passed with options in remove_index 2019-09-10 22:21:20 +01:00
logger_test.rb Move SchemaMigration to migration_context 2019-06-14 11:15:08 -04:00
pending_migrations_test.rb
references_foreign_key_test.rb Remove NoForeignKeySupportTest which is no longer reached 2019-02-16 15:13:00 +09:00
references_index_test.rb
references_statements_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
rename_table_test.rb