Fix new rubocop warnings

This commit is contained in:
Tom Hughes 2016-02-05 12:28:16 +00:00
parent c7061991e7
commit 5d3ecffa28
41 changed files with 252 additions and 250 deletions

View file

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