Fix some files according the the .editorconfig rules
This commit is contained in:
parent
66fcdda59b
commit
0c9628c180
30 changed files with 83 additions and 82 deletions
|
@ -2,21 +2,21 @@ describe EmailSanitizableConcern, type: :model do
|
|||
describe 'sanitize_email' do
|
||||
let(:email_concern) do
|
||||
(Class.new do
|
||||
include EmailSanitizableConcern
|
||||
attr_accessor :email
|
||||
include EmailSanitizableConcern
|
||||
attr_accessor :email
|
||||
|
||||
def initialize(email)
|
||||
self.email = email
|
||||
end
|
||||
def initialize(email)
|
||||
self.email = email
|
||||
end
|
||||
|
||||
def [](key)
|
||||
self.send(key)
|
||||
end
|
||||
def [](key)
|
||||
self.send(key)
|
||||
end
|
||||
|
||||
def []=(key, value)
|
||||
self.send("#{key}=", value)
|
||||
end
|
||||
end).new(email)
|
||||
def []=(key, value)
|
||||
self.send("#{key}=", value)
|
||||
end
|
||||
end).new(email)
|
||||
end
|
||||
|
||||
before do
|
||||
|
|
|
@ -14,17 +14,17 @@ describe TagsSubstitutionConcern, type: :model do
|
|||
|
||||
let(:template_concern) do
|
||||
(Class.new do
|
||||
include TagsSubstitutionConcern
|
||||
include TagsSubstitutionConcern
|
||||
|
||||
def initialize(p, s)
|
||||
@procedure = p
|
||||
self.class.const_set(:DOSSIER_STATE, s)
|
||||
end
|
||||
def initialize(p, s)
|
||||
@procedure = p
|
||||
self.class.const_set(:DOSSIER_STATE, s)
|
||||
end
|
||||
|
||||
def procedure
|
||||
@procedure
|
||||
end
|
||||
end).new(procedure, state)
|
||||
def procedure
|
||||
@procedure
|
||||
end
|
||||
end).new(procedure, state)
|
||||
end
|
||||
|
||||
describe 'replace_tags' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue