Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retry MSendResponse test #12

Merged
merged 1 commit into from
May 10, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import scala.concurrent.Await
import com.joypeg.scamandrill.models._

import scala.util.{Failure, Success, Try}
import org.scalatest.tagobjects.Retryable

class MessageCallsTest extends MandrillSpec {

Expand All @@ -21,7 +22,7 @@ class MessageCallsTest extends MandrillSpec {
res.head.email shouldBe "test@recipient.com"
res.head.reject_reason shouldBe None
}
it should "return as many MSendResponse as the recipients list size" in {
it should "return as many MSendResponse as the recipients list size" taggedAs(Retryable) in {
mandrillBlockingClient.messagesSend(MSendMessage(message =
validMessage.copy(to = List(MTo("test@recipient.com"),MTo("test1@recipient.2"),MTo("tes3@recipient.3"))))) match {
case Success(res) =>
Expand Down