fix unit tests

This commit is contained in:
r888888888
2017-11-20 16:10:35 -08:00
parent f11992bd91
commit 502f1298a9
25 changed files with 101 additions and 29 deletions

View File

@@ -4,7 +4,7 @@ class BulkRevert
class ConstraintTooGeneralError < Exception ; end
def process(creator, constraints)
def process(creator, constraints = {})
@constraints = constraints
ModAction.log("Processed bulk revert for #{constraints.inspect} by #{creator.name}")
@@ -19,6 +19,7 @@ class BulkRevert
end
def initialize
@constraints = {}
end
def preview