diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-05-20 11:21:16 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-05-20 11:21:16 +0200 |
commit | 8f8dfa488a7c20196d597cab6b9eb4ddaaa597c2 (patch) | |
tree | 38006608f23b1f60136b0c97444cf6269c4d639a /activerecord/test/cases/integration_test.rb | |
parent | 60bd2432b2f1fa5a84554aea38b8971368b79cfe (diff) | |
download | rails-8f8dfa488a7c20196d597cab6b9eb4ddaaa597c2.tar.gz rails-8f8dfa488a7c20196d597cab6b9eb4ddaaa597c2.tar.bz2 rails-8f8dfa488a7c20196d597cab6b9eb4ddaaa597c2.zip |
fix `rake test_sqlite3_mem`.
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
Diffstat (limited to 'activerecord/test/cases/integration_test.rb')
0 files changed, 0 insertions, 0 deletions