[rspec-devel] [ rspec-Feature Requests-9786 ] infer controller and helper names from the described type
noreply at rubyforge.org
noreply at rubyforge.org
Tue Apr 3 11:16:28 EDT 2007
Feature Requests item #9786, was opened at 2007-04-03 15:16
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=9786&group_id=797
Category: rails plugin
Group: None
Status: Open
Priority: 3
Submitted By: David Chelimsky (dchelimsky)
Assigned to: Nobody (None)
Summary: infer controller and helper names from the described type
Initial Comment:
Now that we can do this:
describe SomeThingController do
it seems a shame to require this:
controller_name :some_thing
Controller Behavoiurs could be smart enough to see if a type is passed to #describe, and if it is a subclass of ActionController::Base, in which case it doesn't need to require controller_name
Same goes for Helper Behaviours.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=9786&group_id=797
More information about the rspec-devel
mailing list