Skip to content

Commit

Permalink
Format inserting test after describe indention
Browse files Browse the repository at this point in the history
  • Loading branch information
sorentwo committed Aug 19, 2022
1 parent 52ddc28 commit 1ea09e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/inserting_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ defmodule Oban.Integration.InsertingTest do
multi = Oban.insert_all(name, multi, "jobs-2", changesets_2)
multi = Multi.run(multi, "build-jobs-3", fn _, _ -> {:ok, changesets_3} end)
multi = Oban.insert_all(name, multi, "jobs-3", & &1["build-jobs-3"])
{:ok, %{"jobs-1" => jobs_1, "jobs-2" => jobs_2, "jobs-3" => jobs_3}} = Repo.transaction(multi)

{:ok, %{"jobs-1" => jobs_1, "jobs-2" => jobs_2, "jobs-3" => jobs_3}} =
Repo.transaction(multi)

assert [%Job{}, %Job{}] = jobs_1
assert [%Job{}, %Job{}] = jobs_2
Expand Down

0 comments on commit 1ea09e9

Please sign in to comment.