diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-03-09 08:37:28 -0600 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-03-09 08:37:28 -0600 |
commit | 503c2d412a9d80391d81bfcec7315c05e87461fd (patch) | |
tree | a5e131ed9aeeccc63a00f66087ff9ff116998efa /actionpack/test/controller/parameters/mutators_test.rb | |
parent | ba8ce39877cbe62522ddecd2965edcd9c6304adf (diff) | |
download | rails-503c2d412a9d80391d81bfcec7315c05e87461fd.tar.gz rails-503c2d412a9d80391d81bfcec7315c05e87461fd.tar.bz2 rails-503c2d412a9d80391d81bfcec7315c05e87461fd.zip |
Fix intermittent test failures
The default value of `"pg_arrays"."tags"` is being changed to `[]` in
one test, but the column information on the model isn't reset after it's
changed back. As such, we think the default value is `[]` when in the
database it's actually `nil`. That means any test which was assigning
`[]` to a new record would have that key skipped with partial writes, as
it hasn't changed from the default. However since the *actual* default
value is `nil`, we get back values that the test doesn't expect, and it
fails.
Diffstat (limited to 'actionpack/test/controller/parameters/mutators_test.rb')
0 files changed, 0 insertions, 0 deletions