Hi,

I'm using rspec-rails (1.3.2), and wondering how to save myself the
trouble of testing filters for ActionControllers when those filters
call methods included from modules.

Specifically, what is the recommended structure for the test of the
module filter; next, how can I confirm that the controller classes
that have included the module and are properly calling its methods as
filters.

Cracking this could save me from duplicating the testing of the full
behavior of the filters in several instances, in several
ActionController classes.

Thanks,

Lille

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to