require 'test_helper' module Admin class UserControllerTest < ActionDispatch::IntegrationTest test "should get index" do get admin_users_url assert_response :success end test "should get new" do get admin_new_user_url assert_response :success end test "should post create" do post admin_create_user_url assert_response :success end test "should get view" do get admin_user_url users(:recruiter).to_i assert_response :success end test "should get edit" do get admin_edit_user_url users(:recruiter).to_i assert_response :success end test "should post update user" do post admin_update_user_url users(:recruiter).to_i assert_response :success end end end