search for: cms_site

Displaying 2 results from an estimated 2 matches for "cms_site".

Did you mean: cmd_size
2012 Nov 17
0
How to get more debug information in test log ?
Im one of my unit tests, I got an error I cannot even start looking for the issue as few information are logged ... Using the test console , there is no error at all : > rails console test >> Loading test environment (Rails 3.2.9.rc3) > site1 = FactoryGirl.create(:cms_site, label: "booboo") >> BEGIN .. .. >> but running my tests > unit > ruby -Itest test/unit/user_test.rb -n "/should_save_user_with_required_fields/" >> STARTED >> Error: test_should_save_user_with_required_fields(UserTest) NoMethodError: undefin...
2011 Mar 30
0
Anonymous Subclass of ActionController::Base
...elper'') 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