Sha256: ec5d34517202ab5dbd9983a5a53a08fb8c8256f2fdf754495d87f3694b989317
Contents?: true
Size: 592 Bytes
Versions: 3
Compression:
Stored size: 592 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class DefaultControllerTest < ActionController::TestCase tests DefaultController context "default controller" do setup do activate_authlogic @user = Factory(:user) login_as @user end context 'on GET to index' do # the default view calls some of the helpers # this is a sanity check to make sure they don't blow up setup do @user.activities << Factory(:activity, :template => 'status_update') get :index end should_respond_with :success end end end
Version data entries
3 entries across 3 versions & 1 rubygems