tests: add note previews controller tests.

This commit is contained in:
evazion
2017-02-05 16:28:32 -06:00
parent 77b4dfcdfb
commit 142dc05d0c

View File

@@ -0,0 +1,12 @@
require 'test_helper'
class NotePreviewsControllerTest < ActionController::TestCase
context "The note previews controller" do
context "show action" do
should "work" do
get :show, { body: "<b>test</b>", format: "json" }
assert_response :success
end
end
end
end