diff --git a/test/functional/help_controller_test.rb b/test/functional/help_controller_test.rb index 6da7b843..f37c7ab6 100644 --- a/test/functional/help_controller_test.rb +++ b/test/functional/help_controller_test.rb @@ -1,8 +1,15 @@ require 'test_helper' class HelpControllerTest < ActionController::TestCase - # Replace this with your real tests. - test "the truth" do - assert true + test "renders wiki_syntax properly" do + get "wiki_syntax" + + assert_select "h1", "Wiki Syntax Quick Reference" + end + + test "renders wiki_syntax_detailed properly" do + get "wiki_syntax_detailed" + + assert_select "h1", "Wiki Formatting" end end