diff options
author | Jon Leighton <j@jonathanleighton.com> | 2013-03-09 20:32:01 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2013-03-09 20:32:01 +0000 |
commit | 9ae81be072ef392cadd291c92889e7ca7c878f32 (patch) | |
tree | 2861228d26de1eaed841c910b4cc617a264150e9 /railties/lib/rails/version.rb | |
parent | ca35454b498657cd94cb0a4203801e52687aa9e0 (diff) | |
download | rails-9ae81be072ef392cadd291c92889e7ca7c878f32.tar.gz rails-9ae81be072ef392cadd291c92889e7ca7c878f32.tar.bz2 rails-9ae81be072ef392cadd291c92889e7ca7c878f32.zip |
Fix race condition in test
This should fix travis. For real this time! This is the one!
The readpartial(100) meant that an earlier assert_stdout could chomp up
the output that a later assert_stdout wants, meaning that the later
assertion fails.
Reading only 1 byte at a time ensure that we don't read any more than is
necessary to verify the assertion.
Diffstat (limited to 'railties/lib/rails/version.rb')
0 files changed, 0 insertions, 0 deletions