mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8f8dfa488a
While running Sqlite3 memory tests I encountered the following error: ``` Finished in 69.416366s, 58.0267 runs/s, 162.3681 assertions/s. 1) Error: ActiveRecord::Migration::ChangeSchemaTest#test_add_column_with_timestamp_type: NoMethodError: undefined method `type' for nil:NilClass /Users/senny/Projects/rails/activerecord/test/cases/migration/change_schema_test.rb:244:in `test_add_column_with_timestamp_type' 4028 runs, 11271 assertions, 0 failures, 1 errors, 1 skips ``` This was because the table `testings` was used in multiple test-cases. This resulted in a wrongly cached schema on `ActiveRecord::Base.schema_chae`. /cc @zuhao |
||
---|---|---|
.. | ||
change_schema_test.rb | ||
change_table_test.rb | ||
column_attributes_test.rb | ||
column_positioning_test.rb | ||
columns_test.rb | ||
command_recorder_test.rb | ||
create_join_table_test.rb | ||
helper.rb | ||
index_test.rb | ||
logger_test.rb | ||
references_index_test.rb | ||
references_statements_test.rb | ||
rename_table_test.rb | ||
table_and_index_test.rb |