Displaying 1 result from an estimated 1 matches for "cas_faker".
2011 Mar 30
0
Anonymous Subclass of ActionController::Base
...nd_path(File.dirname(__FILE__) + ''/../../
spec_helper'')
describe "Admin::BaseController" do
let(:current_user) { logged_in(:role? => true) }
controller(Admin::BaseController) do
def index
render :nothing => true
end
end
before(:each) do
cas_faker(current_user.username)
end
describe "cms_site before_filter" do
it "should receive before_filter cms_site" do
controller.should_receive(:etherweb_site)
get :index
end
end
end