Fix rubocop warnings

This commit is contained in:
Tom Hughes 2017-10-05 19:18:38 +01:00
parent 4f20850e55
commit 8dae890a76
54 changed files with 409 additions and 393 deletions

View file

@ -13,7 +13,7 @@ module Redactable
def redact!(redaction)
# check that this version isn't the current version
raise OSM::APICannotRedactError.new if is_latest_version?
raise OSM::APICannotRedactError if is_latest_version?
# make the change
self.redaction = redaction