require 'test_helper' class AdminPanelControllerTest < ActionController::TestCase test "should get dashboard" do get :dashboard assert_response :success end test "should get posts" do get :posts assert_response :success end test "should get users" do get :users assert_response :success end end