adding basic test, to make sure, nothing breaks

pull/351/head
Gregor Schmidt 14 years ago
parent 913c60f71c
commit 0b7b564a34
  1. 13
      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

Loading…
Cancel
Save