[rspec-devel] [ rspec-Feature Requests-5815 ] active_record_subclass.should_have(3).records

noreply at rubyforge.org noreply at rubyforge.org
Tue Sep 19 22:08:18 EDT 2006


Feature Requests item #5815, was opened at 2006-09-20 02:08
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=5815&group_id=797

Category: None
Group: None
Status: Open
Priority: 3
Submitted By: David Chelimsky (dchelimsky)
Assigned to: Dave Astels (dastels)
Summary: active_record_subclass.should_have(3).records

Initial Comment:
active_record_subclass.should_have(3).find(:all) already works, but it sucks for readability.

active_record_subclass.should_have(3).records

Now THAT is nice

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=5815&group_id=797


More information about the rspec-devel mailing list