Bump rubocop from 1.56.4 to 1.61.0
This version fixes false negatives for Lint/SymbolConversion when using string interpolation, for Style/RedundantArgument when using the safe navigation operator, for Style/RedundantParentheses when logical operators are involved and for Style/RedundantReturn with lambda ending with return. We're applying the new rules. Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.56.4 to 1.61.0. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.56.4...v1.61.0) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
Javi Martín
parent
e24ebf9406
commit
f4203909db
@@ -18,9 +18,9 @@ module Emails
|
||||
|
||||
def fill_in_newsletter_form(options = {})
|
||||
select (options[:segment_recipient] || "All users"), from: "Recipients"
|
||||
fill_in "Subject", with: (options[:subject] || "This is a different subject")
|
||||
fill_in "Subject", with: options[:subject] || "This is a different subject"
|
||||
fill_in "E-mail address that will appear as sending the newsletter",
|
||||
with: (options[:from] || "no-reply@consul.dev")
|
||||
fill_in_ckeditor "Email content", with: (options[:body] || "This is a different body")
|
||||
with: options[:from] || "no-reply@consul.dev"
|
||||
fill_in_ckeditor "Email content", with: options[:body] || "This is a different body"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -61,8 +61,8 @@ module Notifications
|
||||
|
||||
def fill_in_admin_notification_form(options = {})
|
||||
select (options[:segment_recipient] || "All users"), from: :admin_notification_segment_recipient
|
||||
fill_in "Title", with: (options[:title] || "This is the notification title")
|
||||
fill_in "Text", with: (options[:body] || "This is the notification body")
|
||||
fill_in :admin_notification_link, with: (options[:link] || "https://www.decide.madrid.es/vota")
|
||||
fill_in "Title", with: options[:title] || "This is the notification title"
|
||||
fill_in "Text", with: options[:body] || "This is the notification body"
|
||||
fill_in :admin_notification_link, with: options[:link] || "https://www.decide.madrid.es/vota"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user