fix previews

This commit is contained in:
rick
2010-12-09 16:15:28 -08:00
parent 2c8be3d95b
commit f5480c21d2
2 changed files with 7 additions and 5 deletions
+4
View File
@@ -39,6 +39,10 @@ context "Frontend" do
assert_equal 'def', page.version.message
end
test "previews content" do
post "/preview", :content => 'abc', :format => 'markdown'
end
def app
Precious::App
end