I wonder how to test controllers outside of rails - in a new gem.
How to mock them and how to use Rails controller test helpers like get
and post
?
I am trying to test before_filter
that is executed from developed module.
I wonder how to test controllers outside of rails - in a new gem.
How to mock them and how to use Rails controller test helpers like get
and post
?
I am trying to test before_filter
that is executed from developed module.