Skip to content

Commit

Permalink
Merge pull request #38 from dtaniwaki/fork-specs-correctly
Browse files Browse the repository at this point in the history
Fork specs correctly
  • Loading branch information
dtaniwaki authored Jan 6, 2017
2 parents 5990add + 0456d01 commit f58ec0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/support/fork_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
Process.waitpid2 pid
res = Marshal.load(read)
example.example.send :set_exception, res if res && res.to_s != ''
example.instance_variable_set('@executed', true)
read.close
end
end

0 comments on commit f58ec0a

Please sign in to comment.