Re: [rspec-users] hash_include with regular expression

2010-02-17 Thread David Chelimsky
On Tue, Feb 16, 2010 at 7:09 AM, mikev wrote: > > I'm trying to match a string in a hash passed to :find using a regular > expression since I don't want to know all the other details of > the :conditions passed to find.  I've tried variations on the > following with no success, e.g., not using has

[rspec-users] hash_include with regular expression

2010-02-16 Thread mikev
I'm trying to match a string in a hash passed to :find using a regular expression since I don't want to know all the other details of the :conditions passed to find. I've tried variations on the following with no success, e.g., not using hash_including and putting both hashes into a single hash_i