mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Rubocop autocorrect specs
This commit is contained in:
parent
247f4b85b7
commit
5c2e1bfe1e
13 changed files with 279 additions and 269 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue