Correcting view test for posts

This commit is contained in:
Cesy
2015-08-06 09:51:14 +00:00
parent 6f95f1fecf
commit 0681fac406

View File

@@ -45,7 +45,7 @@ describe "forums/index" do
it "displays posts" do
assert_select "table"
rendered.should have_content @post.subject
rendered.should have_content "less than a minute ago"
rendered.should have_content Date.today.to_s(:short)
end
it "displays comment count" do