Permalink
Browse files

Merge pull request #382 from jscheid/master

Convert value returned by DRb to integer
  • Loading branch information...
dchelimsky committed May 21, 2011
2 parents 17df39b + 0998854 commit c4427b743b2a59a7ec076277ed5d7beef24a5399
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec/core/runner.rb
View
@@ -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'"

0 comments on commit c4427b7

Please sign in to comment.