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

noreply at rubyforge.org noreply at rubyforge.org
Thu May 10 09:34:45 EDT 2007


Patches item #10731, was opened at 2007-05-09 19: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



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

>Comment By: Aslak Hellesøy (aslak_hellesoy)
Date: 2007-05-10 09:34

Message:
I think be_a_success looks more cluttered than be_success

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

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