Apply Style/StringLiteralsInInterpolation rubocop rule

We were already using it in most places.
This commit is contained in:
Javi Martín
2019-10-26 13:37:36 +02:00
parent 8e3bfa0d72
commit 34e66acdda
5 changed files with 10 additions and 7 deletions

View File

@@ -197,9 +197,9 @@ describe Dashboard::Mailer do
"among other features and rewards that you will discover. "\
"Dont stop adding support and we will not stop rewarding "\
"and helping you!")
expect(email).to have_body_text("You have #{Setting['months_to_archive_proposals']} months "\
expect(email).to have_body_text("You have #{Setting["months_to_archive_proposals"]} months "\
"since you publish the proposal to get "\
"#{Setting['votes_for_proposal_success']} support and your "\
"#{Setting["votes_for_proposal_success"]} support and your "\
"proposal can become a reality. But the first days are the "\
"most important. It is a challenge. Get ready!")
expect(email).to have_body_text("And for you to start with all the motivation,")