Fix specs by adding forgotten instance variable

This commit is contained in:
Grzegorz Bizon 2015-11-23 20:25:49 +00:00
parent d835fbc79f
commit 360a96a299

View file

@ -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,