[rspec-devel] [ rspec-Patches-10731 ] response.should be_a_success

noreply at rubyforge.org noreply at rubyforge.org
Wed May 9 19:56:40 EDT 2007


Patches item #10731, was opened at 2007-05-09 23:56
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=10731&group_id=797

Category: rails plugin
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Scott Taylor (smtlaissezfaire)
Assigned to: Nobody (None)
Summary: response.should be_a_success

Initial Comment:

The current rails controller/resource generators output code like the following:

response.should be_success


I think it reads much better like this:

response.should be_a_success

This is a tiny little patch that changes those instances in the generators



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

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


More information about the rspec-devel mailing list