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
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
column_positioning_test.rb
columns_test.rb
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
foreign_key_test.rb
helper.rb
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
references_index_test.rb
references_statements_test.rb
rename_table_test.rb