Displaying 2 results from an estimated 2 matches for "delpero".
Did you mean:
delpiero
2013 Mar 20
2
Rspec + Devise + BaseController
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
layout "admin_cms"
before_filter :authenticate_admin!
end
2013 Mar 27
0
Rspec + include Rails.application.routes.url_helpers
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_helper.rb
http://www.ruby-forum.com/attachment/8270/products_helper.rb