Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/mailers/application_mailer.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class ApplicationMailer < ActionMailer::Base
default from: 'from@example.com'
default from: 'no-reply@example.com'
layout 'mailer'
end
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Application < Rails::Application
config.action_mailer.default_url_options = { host: ENV.fetch('SERVER_HOST', nil),
port: ENV.fetch('PORT', 3000) }
config.action_mailer.default_options = {
from: 'no-reply@api.com'
from: 'no-reply@example.com'
}

config.action_mailer.deliver_later_queue_name = 'mailers'
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class
# with default "from" parameter.
config.mailer_sender = 'no-reply@yourapi.com'
config.mailer_sender = 'no-reply@example.com'

# Configure the class responsible to send e-mails.
# config.mailer = 'Devise::Mailer'
Expand Down
2 changes: 1 addition & 1 deletion spec/requests/api/v1/users/create_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
subject { post user_registration_path, params:, as: :json }

let(:user) { User.last }
let(:email) { 'test@test.com' }
let(:email) { 'test@example.com' }

let(:params) do
{
Expand Down