diff options
author | Matthew Draper <matthew@trebex.net> | 2017-08-02 21:59:42 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 21:59:42 +0930 |
commit | 869cb93de12141425b73f43e93f6e3730147b0ed (patch) | |
tree | 3df573074150a25e08af189b5091b3e20e10aa5f /actionpack/test | |
parent | 686261f0df560cd720231365499ac116f2024a32 (diff) | |
parent | 7f89d4e8bf1a8656dee77cc606c53b3a35e4651a (diff) | |
download | rails-869cb93de12141425b73f43e93f6e3730147b0ed.tar.gz rails-869cb93de12141425b73f43e93f6e3730147b0ed.tar.bz2 rails-869cb93de12141425b73f43e93f6e3730147b0ed.zip |
Merge pull request #29958 from znz/file-null
Use File::NULL instead of "/dev/null"
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/journey/gtg/transition_table_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/journey/gtg/transition_table_test.rb b/actionpack/test/journey/gtg/transition_table_test.rb index 9fa4c8a10f..9044934f05 100644 --- a/actionpack/test/journey/gtg/transition_table_test.rb +++ b/actionpack/test/journey/gtg/transition_table_test.rb @@ -21,7 +21,7 @@ module ActionDispatch assert json["accepting"] end - if system("dot -V 2>/dev/null") + if system("dot -V", 2 => File::NULL) def test_to_svg table = tt %w{ /articles(.:format) |