aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/api/task.rb
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-06-07 11:20:48 -0700
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-06-07 11:29:09 -0700
commitd68562e3c7ec8061c766ad8d5e189b5f460903c0 (patch)
tree4cb168898eef1ace7413854e0cad89ec25afd91a /railties/lib/rails/api/task.rb
parent1ffa9aa2846b1eed68b3cd01bc47a570e57c03e3 (diff)
downloadrails-d68562e3c7ec8061c766ad8d5e189b5f460903c0.tar.gz
rails-d68562e3c7ec8061c766ad8d5e189b5f460903c0.tar.bz2
rails-d68562e3c7ec8061c766ad8d5e189b5f460903c0.zip
Fix API controller tests by assigning them the encoding type
- Fixes #25183. - The `as: :json` feature was added in https://github.com/rails/rails/pull/21671 and recommended to use for JSON endpoints so let's use it by default for API controller tests.
Diffstat (limited to 'railties/lib/rails/api/task.rb')
0 files changed, 0 insertions, 0 deletions