Hello there,
I'm creating a base controller for the admin section of a project. All
controllers whitin the admin section will inherit from it.
#
#app/controllers/admins/base_controller.rb
class Admins::BaseController < ApplicationController
l
Finally I could solve the problem. The problem was on the definition of
the anonymous controller on the spec:
instead of:
controller do
def index
end
end
I used:
controller(Admins::Base) do
def index
end
end
You need to specify always the anonymous cont
Hello there,
I'm having some issues trying to test a custom helper. And I been trying
to figure this out without luck. Please, see attachs for more
information. Thanks in advance.
Attachments:
http://www.ruby-forum.com/attachment/8268/errors.txt
http://www.ruby-forum.com/attachment/8269/spec_help