#469 new
Ian White

controller_class.action_methods is not correct

Reported by Ian White | July 15th, 2008 @ 08:51 PM | in No-Milestone-Assigned

If any controller is introspecting its action_methods in a spec it will see a whole bunch of rspec methods and PP methods

eg. a controller with actions "some_action" and "other_action" will also have:

"pretty_print", "pretty_print_inspect", "rspec_verify", "pretty_print_cycle", "some_action", "received_message?", "stub!", "should_receive", "pretty_inspect", "should_not_receive", "rspec_reset", "pretty_print_instance_variables"

when you do controller.action_methods

patch with spec to follows

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Behaviour Driven Development for Ruby.

Shared Ticket Bins

People watching this ticket