DEV: Fix linting in notify_category_change_spec (#29175)
This commit is contained in:
parent
65a1e149ad
commit
7ab4df9a04
|
@ -22,7 +22,9 @@ RSpec.describe ::Jobs::NotifyCategoryChange do
|
|||
|
||||
context "when mailing list mode is enabled" do
|
||||
before { SiteSetting.disable_mailing_list_mode = false }
|
||||
before { regular_user.user_option.update(mailing_list_mode: true, mailing_list_mode_frequency: 1) }
|
||||
before do
|
||||
regular_user.user_option.update(mailing_list_mode: true, mailing_list_mode_frequency: 1)
|
||||
end
|
||||
before { Jobs.run_immediately! }
|
||||
|
||||
it "notifies mailing list subscribers" do
|
||||
|
|
Loading…
Reference in New Issue