Sha256: 557e8dcd0970795916ac065ab56e874112e4e0aa55140c58ec955ee57d35e99d
Contents?: true
Size: 440 Bytes
Versions: 8
Compression:
Stored size: 440 Bytes
Contents
require "test_helper" # ControllerTest generated by Typus, use it to test the extended admin functionality. class Admin::<%= resource %>ControllerTest < ActionController::TestCase setup do admin = admin_users(:admin) @request.session[:typus_user_id] = admin.id end test "should render index" do get :index assert_template :index end test "should render new" do get :new assert_template :new end end
Version data entries
8 entries across 8 versions & 1 rubygems