search for: etherweb_sit

Displaying 1 result from an estimated 1 matches for "etherweb_sit".

Did you mean: etherweb_site
2011 Mar 30
0
Anonymous Subclass of ActionController::Base
I''m trying to spec a subclass of ActionController::Base using an anonymous subclass but I am running into errors but I am receiving a uninitialized constant StubResource Here is my base class class Admin::BaseController < ApplicationController before_filter :etherweb_site load_and_authorize_resource layout "admin/admin" protected def etherweb_site end end Spec: require File.expand_path(File.dirname(__FILE__) + ''/../../ spec_helper'') describe "Admin::BaseController" do let(:current_user) { logged_in(:role? =&g...