[rspec-users] Newlines breaking "should have_tag :text =>" specs

Ashley Moran work at ashleymoran.me.uk
Fri Apr 27 12:30:22 EDT 2007

On 27 Apr 2007, at 17:13, Chris Hoffman wrote:

> You could do the following:
> :text => /\s*#{product.name}\s*/
> which would ignore arbitrary amounts of whitespace.
> -Chris

Cool thanks - I'll try that over the weekend.  In the mean time, any  
idea why it passes on Windows and not OS X?  Seems very wierd.

More information about the rspec-users mailing list