summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2017-08-13 21:13:29 +0200
committerChris Schlaeger <chris@linux.com>2017-08-13 21:13:29 +0200
commitabac039cbf5f8b9b6deecdd3b9238a8325c1a85e (patch)
tree3c647500062969a5ed368c5287b6db788499b957 /spec
parentce4b32bb1b8c42a7a107e5c4ae64fc9ab7fd5db2 (diff)
downloadpostrunner-abac039cbf5f8b9b6deecdd3b9238a8325c1a85e.zip
Bump version to 0.8.0.v0.8.0
PostRunner now supports Garmin Fenix 5, Fenix 5S and Fenix 5X devices.
Diffstat (limited to 'spec')
-rw-r--r--spec/PostRunner_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/PostRunner_spec.rb b/spec/PostRunner_spec.rb
index bd75974..08ed686 100644
--- a/spec/PostRunner_spec.rb
+++ b/spec/PostRunner_spec.rb
@@ -31,7 +31,9 @@ describe PostRunner::Main do
$stderr = old_stderr
end
- { :retval => retval, :stdout => stdout.string, :stderr => stderr.string }
+ stdout.rewind
+ stderr.rewind
+ { :retval => retval, :stdout => stdout.read, :stderr => stderr.read}
end
before(:all) do