adding basic test, to make sure, nothing breaks

This commit is contained in:
Gregor Schmidt 2011-05-02 15:24:11 +02:00
parent 913c60f71c
commit 0b7b564a34

View File

@ -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