implement postarchive

This commit is contained in:
Albert Yi
2017-01-13 17:21:05 -08:00
committed by r888888888
parent 6c9d5e4f9a
commit 5404c1d231
17 changed files with 378 additions and 98 deletions

View File

@@ -53,7 +53,7 @@ module Moderator
end
should "render" do
assert_equal(1, PostVersion.count)
assert_equal(1, PostArchive.count)
get :show, {}, {:user_id => @admin.id}
assert_response :success
end