mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-04 07:09:14 +00:00
Re-enable mail_bcc field in mail method settings
This feels safer because we don't risk messing up with any instance's operations while still moving us towards removing this page.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
.field
|
||||
= label_tag :mail_bcc, t("spree.send_copy_of_all_mails_to")
|
||||
%br/
|
||||
= text_field_tag :mail_bcc, Spree::Config[:mail_bcc], disabled: true, class: 'fullwidth'
|
||||
= text_field_tag :mail_bcc, Spree::Config[:mail_bcc], maxlength: 256, class: 'fullwidth'
|
||||
%br/
|
||||
%span.info
|
||||
= t("spree.smtp_send_copy_to_this_addresses")
|
||||
|
||||
@@ -12,7 +12,7 @@ describe "Mail Methods" do
|
||||
|
||||
it "only allows changing the mails_from setting" do
|
||||
fill_in 'mails_from', with: 'ofn@example.com'
|
||||
expect(page).to have_field('mail_bcc', disabled: true)
|
||||
fill_in 'mail_bcc', with: 'bcc@example.com'
|
||||
expect(page).to have_field('intercept_email', disabled: true)
|
||||
|
||||
click_button 'Update'
|
||||
|
||||
Reference in New Issue
Block a user