aboutsummaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-06-07 10:56:14 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-06-09 07:56:45 +0900
commitcac0c7924db46474b0554f8da5b196d4fd9d9ed6 (patch)
tree1a80c51a3aaf9835259e3f45f5d7860d82c77409 /tasks
parentb7d244f52add490da2fec993772089baed0dab98 (diff)
downloadrails-cac0c7924db46474b0554f8da5b196d4fd9d9ed6.tar.gz
rails-cac0c7924db46474b0554f8da5b196d4fd9d9ed6.tar.bz2
rails-cac0c7924db46474b0554f8da5b196d4fd9d9ed6.zip
Insert environment value to `InternalMetadata` after recreating the table
Sometimes `ActiveRecord::DatabaseTasksUtilsTask#test_raises_an_error_when_called_with_protected_environment` test fails. https://travis-ci.org/rails/rails/jobs/238861562 https://travis-ci.org/rails/rails/jobs/239950092 There seems to be an error because `environment` value is not exist. This is because did not set the environment after recreating the table in `SchemaMigrationsTest#test_initializes_internal_metadata_for_encoding_utf8mb4`. Therefore, we create value after the test to maintain the original state.
Diffstat (limited to 'tasks')
0 files changed, 0 insertions, 0 deletions