tests: add note previews controller tests.
This commit is contained in:
12
test/functional/note_previews_controller_test.rb
Normal file
12
test/functional/note_previews_controller_test.rb
Normal 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
|
||||
Reference in New Issue
Block a user