From 142dc05d0c1a81552a07a7a21c81136f7ea1d359 Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 5 Feb 2017 16:28:32 -0600 Subject: [PATCH] tests: add note previews controller tests. --- test/functional/note_previews_controller_test.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/functional/note_previews_controller_test.rb diff --git a/test/functional/note_previews_controller_test.rb b/test/functional/note_previews_controller_test.rb new file mode 100644 index 000000000..1a8016945 --- /dev/null +++ b/test/functional/note_previews_controller_test.rb @@ -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: "test", format: "json" } + assert_response :success + end + end + end +end