Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kostya committed Sep 22, 2013
1 parent 81160c0 commit 423f993
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/system_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
args = [{"A"=>"1", "B"=>nil, "C"=>"3"}, "echo", "1",
{:pgroup=>true, :chdir=>"/", :out=>["/tmp/1", "a"], :err=>["/tmp/2", "a"]}]
mock(Process).spawn(*args){ 1234555 }
mock(Process).detach( 1234555 )
Eye::System::daemonize("echo 1", :environment => {'A' => 1, 'B' => nil, 'C' => 3},
:stdout => "/tmp/1", :stderr => "/tmp/2")
end
Expand Down

0 comments on commit 423f993

Please sign in to comment.