Fix failing spec

This addresses the failure @sferik reported in rspec/rspec-core#1617.