Reformat ticket_spec to avoid calling rubocop:disable/enable
This commit is contained in:
parent
f086b30957
commit
739f8e9c99
1 changed files with 2 additions and 4 deletions
|
@ -205,13 +205,11 @@ RSpec.describe Ticket do
|
||||||
it 'does not modify its arguments' do
|
it 'does not modify its arguments' do
|
||||||
trigger = Trigger.new(
|
trigger = Trigger.new(
|
||||||
perform: {
|
perform: {
|
||||||
# rubocop:disable Lint/InterpolationCheck
|
|
||||||
'notification.email' => {
|
'notification.email' => {
|
||||||
body: 'Hello #{ticket.customer.firstname} #{ticket.customer.lastname},',
|
body: "Hello \#{ticket.customer.firstname} \#{ticket.customer.lastname},",
|
||||||
recipient: %w[article_last_sender ticket_owner ticket_customer ticket_agents],
|
recipient: %w[article_last_sender ticket_owner ticket_customer ticket_agents],
|
||||||
subject: 'Autoclose (#{ticket.title})'
|
subject: "Autoclose (\#{ticket.title})"
|
||||||
}
|
}
|
||||||
# rubocop:enable Lint/InterpolationCheck
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue