Spec for #2977: Improve spec for IO.write on FIFO
Spec for #2977: Improve spec for IO.write on FIFO

Remove unneeded conditional
Use IO.read instead of `cat`

sgarciac/spec,lucaspinto/rubyspec,bl4ckdu5t/rubyspec,iliabylich/rubyspec,nobu/rubyspec,kidaa/rubyspec,sgarciac/spec,nobu/rubyspec,benlovell/rubyspec,wied03/rubyspec,wied03/rubyspec,kachick/rubyspec,ruby/spec,sgarciac/spec,eregon/rubyspec,ruby/spec,benlovell/rubyspec,ruby/rubyspec,kachick/rubyspec,ruby/spec,nobu/rubyspec,eregon/rubyspec,yous/rubyspec,ruby/rubyspec,bl4ckdu5t/rubyspec,wied03/rubyspec,BanzaiMan/rubyspec,yous/rubyspec,jannishuebl/rubyspec,jannishuebl/rubyspec,askl56/rubyspec,eregon/rubyspec,kachick/rubyspec,kidaa/rubyspec,askl56/rubyspec,lucaspinto/rubyspec,BanzaiMan/rubyspec,iliabylich/rubyspec