BigW Consortium Gitlab

Commit 360a96a2 by Grzegorz Bizon

Fix specs by adding forgotten instance variable

parent d835fbc7
......@@ -63,6 +63,9 @@ module Emails
@message =
Gitlab::Email::Message::RepositoryPush.new(self, project_id, recipient, opts)
# used in notify layout
@target_url = @message.target_url
mail(from: sender(@message.author_id, @message.send_from_committer_email?),
reply_to: @message.reply_to,
to: @message.recipient,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment