fix MR comment
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
class AdminMailer < ApplicationMailer
|
class AdminMailer < ApplicationMailer
|
||||||
default to: %w(bray@mesuite.ai lee@mesuite.ai)
|
default to: %w[bray@mesuite.ai]
|
||||||
|
|
||||||
def new_video(video)
|
def new_video(video)
|
||||||
@video = video
|
@video = video
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ RSpec.describe AdminMailer do
|
|||||||
|
|
||||||
it "renders the headers" do
|
it "renders the headers" do
|
||||||
expect(mail.subject).to eq("[New Video] Test Account has uploaded a new video")
|
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"])
|
expect(mail.from).to eq(["support@mesuite.ai"])
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ RSpec.describe AdminMailer do
|
|||||||
|
|
||||||
it "renders the headers" 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.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"])
|
expect(mail.from).to eq(["support@mesuite.ai"])
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ RSpec.describe AdminMailer do
|
|||||||
|
|
||||||
it "renders the headers" 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.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"])
|
expect(mail.from).to eq(["support@mesuite.ai"])
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ RSpec.describe AdminMailer do
|
|||||||
|
|
||||||
it "renders the headers" 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.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"])
|
expect(mail.from).to eq(["support@mesuite.ai"])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user