aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/json_params_parsing_test.rb
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-12-13 16:14:13 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-12-13 16:15:58 +0900
commitd0bb649cbf415093dd1cc3f08b7b746dab5ad32f (patch)
treef857b46539245d0a5451089a8631caa94cb7cefb /railties/test/json_params_parsing_test.rb
parent18003002966cd047538ac9f8fc96d5a187be374e (diff)
downloadrails-d0bb649cbf415093dd1cc3f08b7b746dab5ad32f.tar.gz
rails-d0bb649cbf415093dd1cc3f08b7b746dab5ad32f.tar.bz2
rails-d0bb649cbf415093dd1cc3f08b7b746dab5ad32f.zip
Use string for arguments in server test
When actually execute from the command, the value of ARGV is passed to the server. So they are String. So let's use the same type in the test. Also, this removes the following warning in Ruby 2.6. ``` lib/rails/commands/server/server_command.rb:195: warning: deprecated Object#=~ is called on Integer; it always returns nil ```
Diffstat (limited to 'railties/test/json_params_parsing_test.rb')
0 files changed, 0 insertions, 0 deletions