wiki pages: fix error in new controller action.

This commit is contained in:
evazion
2019-10-31 03:27:11 -05:00
parent 9826776e66
commit 0ccfb3f5f6
2 changed files with 6 additions and 1 deletions

View File

@@ -92,6 +92,11 @@ class WikiPagesControllerTest < ActionDispatch::IntegrationTest
get_auth new_wiki_page_path, @mod, params: { wiki_page: { title: "test" }}
assert_response :success
end
should "render without a title" do
get_auth new_wiki_page_path, @mod
assert_response :success
end
end
context "edit action" do