From 101a03e797b6de2ea99f51f093c3ce66afbab161 Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 5 Feb 2017 16:34:07 -0600 Subject: [PATCH] tests: add related tags controller tests. --- test/functional/related_tags_controller_test.rb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test/functional/related_tags_controller_test.rb b/test/functional/related_tags_controller_test.rb index 9f2bbe128..ec9e241dc 100644 --- a/test/functional/related_tags_controller_test.rb +++ b/test/functional/related_tags_controller_test.rb @@ -1,7 +1,12 @@ require 'test_helper' class RelatedTagsControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end + context "The related tags controller" do + context "show action" do + should "work" do + get :show, { query: "touhou" } + assert_response :success + end + end + end end