helps if the test has some kind of assertion
This commit is contained in:
@@ -52,6 +52,7 @@ context "Frontend" do
|
|||||||
|
|
||||||
test "previews content" do
|
test "previews content" do
|
||||||
post "/preview", :content => 'abc', :format => 'markdown'
|
post "/preview", :content => 'abc', :format => 'markdown'
|
||||||
|
assert last_response.ok?
|
||||||
end
|
end
|
||||||
|
|
||||||
def app
|
def app
|
||||||
|
|||||||
Reference in New Issue
Block a user