diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-12-13 16:14:13 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-12-13 16:15:58 +0900 |
commit | d0bb649cbf415093dd1cc3f08b7b746dab5ad32f (patch) | |
tree | f857b46539245d0a5451089a8631caa94cb7cefb /activerecord/test/cases/scoping/relation_scoping_test.rb | |
parent | 18003002966cd047538ac9f8fc96d5a187be374e (diff) | |
download | rails-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 'activerecord/test/cases/scoping/relation_scoping_test.rb')
0 files changed, 0 insertions, 0 deletions