Skip to content

Commit

Permalink
[core] Merge pull request rspec/rspec-core#382 from jscheid/master
Browse files Browse the repository at this point in the history
Convert value returned by DRb to integer

---
This commit was imported from rspec/rspec-core@c4427b7.
  • Loading branch information
dchelimsky committed May 21, 2011
2 parents d829a48 + 2f67035 commit aac7b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rspec-core/lib/rspec/core/runner.rb
Expand Up @@ -8,7 +8,7 @@ class Runner
def self.autorun
return if autorun_disabled? || installed_at_exit? || running_in_drb?
@installed_at_exit = true
at_exit { exit(run(ARGV, $stderr, $stdout)) }
at_exit { exit(run(ARGV, $stderr, $stdout).to_i) }
end
AT_EXIT_HOOK_BACKTRACE_LINE = "#{__FILE__}:#{__LINE__ - 2}:in `autorun'"

Expand Down

0 comments on commit aac7b2b

Please sign in to comment.