fix tests

This commit is contained in:
r888888888
2016-05-27 15:34:55 -07:00
parent 2dfc6d92e4
commit 58aa5c6d66
98 changed files with 42782 additions and 71709 deletions

View File

@@ -59,6 +59,8 @@ class BulkUpdateRequestTest < ActiveSupport::TestCase
end
should "update the topic when rejected" do
@req.approver_id = @admin.id
assert_difference("ForumPost.count") do
@req.reject!
end