Skip to content

Commit

Permalink
Merge pull request #12 from scamandrill/retry-another-test
Browse files Browse the repository at this point in the history
retry MSendResponse test
  • Loading branch information
graingert committed May 10, 2016
2 parents e336ab7 + 34d03e3 commit 9349e55
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 9349e55

Please sign in to comment.