Skip to content

Commit 9a1c973

Browse files
committed
add pending tests
1 parent 254db98 commit 9a1c973

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spec/point/services/extract_service_spec.exs

+5-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ defmodule Point.ExtractServiceSpec do
2121
it "should creates an extract movement", do: expect(extract().type).to(eq "extract")
2222
end
2323

24-
context "when extract an amount from backup account that has less than needed backup" do
25-
let amount: Decimal.new 15000
24+
context "when extract an amount from backup account when has less than needed backup" do
25+
it "shouldn't allows extract required amount"
26+
end
2627

27-
it "shouldn't allows extract required amount", do: expect fn-> extract() end |> to(raise_exception())
28+
context "when extract an amount from backup account when has greater than needed backup" do
29+
it "should allows extract required amount"
2830
end
2931
end

0 commit comments

Comments
 (0)