Skip to content

Commit 85bf31f

Browse files
committed
Applied elxir formatter
1 parent d0bda62 commit 85bf31f

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

test/gateways/mercadopago_test.exs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
defmodule Gringotts.Gateways.MercadopagoTest do
22
# The file contains mocked tests for Mercadopago
3-
3+
44
# We recommend using [mock][1] for this, you can place the mock responses from
55
# the Gateway in `test/mocks/mercadopago_mock.exs` file, which has also been
66
# generated for you.
77
#
88
# [1]: https://github.com/jjh42/mock
9-
9+
1010
# Load the mock response file before running the tests.
11-
Code.require_file "../mocks/mercadopago_mock.exs", __DIR__
12-
11+
Code.require_file("../mocks/mercadopago_mock.exs", __DIR__)
12+
1313
use ExUnit.Case, async: false
1414
alias Gringotts.Gateways.Mercadopago
1515
import Mock
@@ -21,7 +21,7 @@ defmodule Gringotts.Gateways.MercadopagoTest do
2121
describe "authorize" do
2222
end
2323

24-
describe "capture" do
24+
describe "capture" do
2525
end
2626

2727
describe "void" do

test/mocks/mercadopago_mock.exs

-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
defmodule Gringotts.Gateways.MercadopagoMock do
2-
32
# The module should include mock responses for test cases in mercadopago_test.exs.
43
# e.g.
54
# def successful_purchase do
65
# {:ok, %HTTPoison.Response{body: ~s[{data: "successful_purchase"}]}
76
# end
8-
97
end

0 commit comments

Comments
 (0)