Rubocop autocorrect specs

This commit is contained in:
Lars Henrik Mai 2020-03-09 11:27:52 +01:00
parent 247f4b85b7
commit 5c2e1bfe1e
13 changed files with 279 additions and 269 deletions

View file

@ -1,29 +1,29 @@
module FactoryHelper
# frozen_string_literal: true
module FactoryHelper
PAPER_TYPES = [
"Verwaltungsstandpunkt",
"Anfrage",
"Beschlussvorlage",
"Änderungsantrag",
"Antrag",
"Neufassung",
"Informationsvorlage",
"Einwohneranfrage",
"Petition",
"schriftliche Antwort zur Anfrage",
"Wichtige Angelegenheit",
"Eilentscheidung",
"Dringliche Anfrage"
]
'Verwaltungsstandpunkt',
'Anfrage',
'Beschlussvorlage',
'Änderungsantrag',
'Antrag',
'Neufassung',
'Informationsvorlage',
'Einwohneranfrage',
'Petition',
'schriftliche Antwort zur Anfrage',
'Wichtige Angelegenheit',
'Eilentscheidung',
'Dringliche Anfrage'
].freeze
def self.paper_type
PAPER_TYPES.sample
end
REFERENCE = "A-%05i/16"
REFERENCE = 'A-%05i/16'
def self.reference(seq)
REFERENCE % seq
end
end