diff options
author | Yuki Nishijima <yk.nishijima@gmail.com> | 2017-12-29 14:36:16 -0500 |
---|---|---|
committer | Yuki Nishijima <yk.nishijima@gmail.com> | 2017-12-29 15:17:41 -0500 |
commit | 64fb68f7d25913092d2c4f7de768d565f6f3c933 (patch) | |
tree | 12a1be7e83f80667e316f7d2e63b3cc6d4dc2494 /activesupport | |
parent | c10c21f2e1d0481db0eaa764c1605000b8a5c7bd (diff) | |
download | rails-64fb68f7d25913092d2c4f7de768d565f6f3c933.tar.gz rails-64fb68f7d25913092d2c4f7de768d565f6f3c933.tar.bz2 rails-64fb68f7d25913092d2c4f7de768d565f6f3c933.zip |
Use more realistic setup rather than stubbing
These assertions did matter due to the inconsistent behavior of
[the #parameters method][1]. Today, it behaves consistently and they
could be removed. Also, one of the methods was stubbed somewhat
incorrectly, so it is better not to stub and instead, make them close
to more realistic use cases.
[1]: https://github.com/rails/rails/pull/13999#issuecomment-34601746
Diffstat (limited to 'activesupport')
0 files changed, 0 insertions, 0 deletions