36 lines
875 B
Ruby
36 lines
875 B
Ruby
# require 'test_helper'
|
|
#
|
|
# module Admin
|
|
# class QuestionControllerTest < ActionDispatch::IntegrationTest
|
|
# test "should get index" do
|
|
# get admin_questions_url
|
|
# assert_response :success
|
|
# end
|
|
#
|
|
# test "should get new" do
|
|
# get admin_new_question_url
|
|
# assert_response :success
|
|
# end
|
|
#
|
|
# test "should post create" do
|
|
# post admin_create_question_url
|
|
# assert_response :success
|
|
# end
|
|
#
|
|
# test "should get view" do
|
|
# get admin_question_url questions(:fed5).to_i
|
|
# assert_response :success
|
|
# end
|
|
#
|
|
# test "should get edit" do
|
|
# get admin_edit_question_url questions(:fed5).to_i
|
|
# assert_response :success
|
|
# end
|
|
#
|
|
# test "should post update question" do
|
|
# post admin_update_question_url questions(:fed5).to_i
|
|
# assert_response :success
|
|
# end
|
|
# end
|
|
# end
|