aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/clone_test.rb
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-10-05 14:36:13 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-10-05 14:42:15 +0300
commit7e7a6a351c4845d8d92238147450b22fe87627f9 (patch)
tree0b92a2bd7721f46e8c78975dd0738810115d9c0c /activerecord/test/cases/clone_test.rb
parent1ceaf7db5013a233bdc671b3f46583c4c1189fe1 (diff)
downloadrails-7e7a6a351c4845d8d92238147450b22fe87627f9.tar.gz
rails-7e7a6a351c4845d8d92238147450b22fe87627f9.tar.bz2
rails-7e7a6a351c4845d8d92238147450b22fe87627f9.zip
Exercise stringify of database configurations
Since #33968 we stringify keys of database configuration This commit adds more assertions in order to ensure that and prevent any regression in the future. Currently, if remove `to_s` added in #33968 from `env_name.to_s` on the line (activerecord/lib/active_record/database_configurations.rb:107), there is no test that would fail. One of the added assertions should emphasize why we need this `to_s`. Follow up #33968
Diffstat (limited to 'activerecord/test/cases/clone_test.rb')
0 files changed, 0 insertions, 0 deletions