Skip to content

Commit

Permalink
Merge b06c9a6 into 6786537
Browse files Browse the repository at this point in the history
  • Loading branch information
ami committed Dec 5, 2018
2 parents 6786537 + b06c9a6 commit 379f583
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/lob/postcard_test.exs
Expand Up @@ -60,8 +60,8 @@ defmodule Lob.PostcardTest do
Postcard.create(%{
description: sample_postcard.description,
to: created_address.id,
front: "https://lob.com/postcardfront.pdf",
back: "https://lob.com/postcardback.pdf"
front: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/pc_4x6_front.pdf",
back: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/pc_4x6_back.pdf"
})

{:ok, retrieved_postcard, _headers} = Postcard.retrieve(created_postcard.id)
Expand All @@ -79,7 +79,7 @@ defmodule Lob.PostcardTest do
Postcard.create(%{
description: sample_postcard.description,
to: created_address.id,
front: "https://lob.com/postcardfront.pdf",
front: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/pc_4x6_front.pdf",
back: sample_postcard.back
})

Expand All @@ -92,7 +92,7 @@ defmodule Lob.PostcardTest do
Postcard.create(%{
description: sample_postcard.description,
to: sample_address,
front: "https://lob.com/postcardfront.pdf",
front: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/pc_4x6_front.pdf",
back: sample_postcard.back
})

Expand All @@ -108,7 +108,7 @@ defmodule Lob.PostcardTest do
description: sample_postcard.description,
to: created_address.id,
from: sample_address,
front: "https://lob.com/postcardfront.pdf",
front: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/pc_4x6_front.pdf",
back: sample_postcard.back
})

Expand All @@ -123,8 +123,8 @@ defmodule Lob.PostcardTest do
Postcard.create(%{
description: sample_postcard.description,
to: created_address.id,
front: "https://lob.com/postcardfront.pdf",
back: "https://lob.com/postcardback.pdf"
front: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/pc_4x6_front.pdf",
back: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/pc_4x6_back.pdf"
})

assert created_postcard.description == sample_postcard.description
Expand Down Expand Up @@ -184,8 +184,8 @@ defmodule Lob.PostcardTest do
Postcard.create(%{
description: sample_postcard.description,
to: created_address.id,
front: "https://lob.com/postcardfront.pdf",
back: "https://lob.com/postcardback.pdf"
front: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/pc_4x6_front.pdf",
back: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/pc_4x6_back.pdf"
})

{:ok, deleted_postcard, _headers} = Postcard.delete(created_postcard.id)
Expand Down

0 comments on commit 379f583

Please sign in to comment.