admin views roughed in

This commit is contained in:
Mark Moser
2016-08-18 18:22:57 -05:00
parent 430097b6ef
commit 63701c8247
29 changed files with 316 additions and 104 deletions

View File

@ -29,7 +29,8 @@ module Admin
test "should post create" do
assert_difference("Quiz.count", 1) do
post admin_create_quiz_url, params: { quiz: { unit: 'PDW', dept: 'MBL' } }
post admin_create_quiz_url, params: { quiz:
{ name: 'PDW Mobile team screening', unit: 'PDW', dept: 'MBL' } }
end
assert_redirected_to admin_quizzes_url
end