diff --git a/app/mailers/admin_mailer.rb b/app/mailers/admin_mailer.rb index 5552e5f..575e12c 100644 --- a/app/mailers/admin_mailer.rb +++ b/app/mailers/admin_mailer.rb @@ -1,5 +1,5 @@ class AdminMailer < ApplicationMailer - default to: %w(bray@mesuite.ai lee@mesuite.ai) + default to: %w[bray@mesuite.ai] def new_video(video) @video = video diff --git a/spec/mailers/admin_mailer_spec.rb b/spec/mailers/admin_mailer_spec.rb index ac9874d..2240fcb 100644 --- a/spec/mailers/admin_mailer_spec.rb +++ b/spec/mailers/admin_mailer_spec.rb @@ -8,7 +8,7 @@ RSpec.describe AdminMailer do it "renders the headers" do expect(mail.subject).to eq("[New Video] Test Account has uploaded a new video") - expect(mail.to).to eq(["bray@mesuite.ai", "lee@mesuite.ai"]) + expect(mail.to).to eq(["bray@mesuite.ai"]) expect(mail.from).to eq(["support@mesuite.ai"]) end @@ -24,7 +24,7 @@ RSpec.describe AdminMailer do it "renders the headers" do expect(mail.subject).to eq("[Updated Video EDL File] Test Account has updated the EDL file for video_file.mp4") - expect(mail.to).to eq(["bray@mesuite.ai", "lee@mesuite.ai"]) + expect(mail.to).to eq(["bray@mesuite.ai"]) expect(mail.from).to eq(["support@mesuite.ai"]) end @@ -41,7 +41,7 @@ RSpec.describe AdminMailer do it "renders the headers" do expect(mail.subject).to eq("[Updated Video Graphics Only EDL File] Test Account has updated the Graphics Only EDL file for video_file.mp4") - expect(mail.to).to eq(["bray@mesuite.ai", "lee@mesuite.ai"]) + expect(mail.to).to eq(["bray@mesuite.ai"]) expect(mail.from).to eq(["support@mesuite.ai"]) end @@ -58,7 +58,7 @@ RSpec.describe AdminMailer do it "renders the headers" do expect(mail.subject).to eq("[Updated Video Audio Only EDL File] Test Account has updated the Audio Only EDL file for video_file.mp4") - expect(mail.to).to eq(["bray@mesuite.ai", "lee@mesuite.ai"]) + expect(mail.to).to eq(["bray@mesuite.ai"]) expect(mail.from).to eq(["support@mesuite.ai"]) end