Skip to content

Commit

Permalink
Appease rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed May 19, 2021
1 parent b3fd07c commit 237580f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/command_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class CommandTest < ActiveSupport::TestCase

test "#env cast to strings except for `nil`" do
command = Command.new('echo foo', env: { 'SOME_PATH' => Pathname.new('/foo'), 'HOST' => nil }, chdir: '.')
assert_equal({ 'SOME_PATH' => '/foo', 'HOST' => nil}, command.env)
assert_equal({ 'SOME_PATH' => '/foo', 'HOST' => nil }, command.env)
end

test "#timeout is 5 minutes by default" do
Expand Down

0 comments on commit 237580f

Please sign in to comment.