Hello,
I have a controller that defines a module and I'm wondering how I can write a functional test for methods w/in the module.
Here's the basic structure of the controller module blog_controller:
Any ideas?
Thanks!
I have a controller that defines a module and I'm wondering how I can write a functional test for methods w/in the module.
Here's the basic structure of the controller module blog_controller:
Code:
require 'hmac/hmac-sha2'
module BlogController
PAGEXI_HMAC_SHA256_KEY = "sdfqaasdfwfa3rq32aq"
PAGEXI_HMAC_SHA256_AUTHOR_KEY = "sooloo"
def combined
render :partial => "/blog/page_object_combined"
end
#etc...
end
Any ideas?
Thanks!