aboutsummaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2018-09-22 00:46:44 -0400
committerRafael Mendonça França <rafaelmfranca@gmail.com>2018-09-22 00:46:44 -0400
commitd3b952184d8bdb6154aff1f8bc3eda58046026f6 (patch)
treeb49246fa36ee850ef6a56ce01ec4322349ffff45 /.rubocop.yml
parentb18f2fe96debdcd0744f99101d1a1e0d42c41eaa (diff)
downloadrails-d3b952184d8bdb6154aff1f8bc3eda58046026f6.tar.gz
rails-d3b952184d8bdb6154aff1f8bc3eda58046026f6.tar.bz2
rails-d3b952184d8bdb6154aff1f8bc3eda58046026f6.zip
Make sure this test check the issue solved in #31135
Before this change this test was passing even if we revert #31135. The reason for that is that `app 'development'` will load the environment in the test process and it is happening before db_create_and_drop is called. This was not asserting that the environment was loaded in the db:create task itself. To test it we enhance the db:create task with a block that writes to a tmp file the value of the config. If the environment is loaded before that task enhancement runs the content of the file will have "true" insteand of "false".
Diffstat (limited to '.rubocop.yml')
0 files changed, 0 insertions, 0 deletions