tests: add missing controller tests.

This commit is contained in:
evazion
2020-03-30 12:36:06 -05:00
parent 83c2abf1ae
commit 4e2fd82ef6
19 changed files with 227 additions and 14 deletions

View File

@@ -0,0 +1,12 @@
require "test_helper"
class DtextLinksControllerTest < ActionDispatch::IntegrationTest
context "index action" do
should "work" do
@user = create(:user)
@wiki = as(@user) { create(:wiki_page, body: "[[test]]") }
get dtext_links_path
assert_response :success
end
end
end