Closed madundead closed 8 years ago
In order to wrap specs in SQL transactions with Ecto < 2.0 we used
Ecto.Adapters.SQL.begin_test_transaction(App.Repo)
With Ecto 2.0+ it's deprecated and we're supposed to use Ecto.Adapters.SQL.Sandbox methods.
This PR is just a clarification and typo fix for eb05bb6595bcd7df2b0afe4062b69bd772e9154f
Crap. I just saw it was already done in https://github.com/antonmi/espec_phoenix/pull/29.
In order to wrap specs in SQL transactions with Ecto < 2.0 we used
With Ecto 2.0+ it's deprecated and we're supposed to use Ecto.Adapters.SQL.Sandbox methods.
This PR is just a clarification and typo fix for eb05bb6595bcd7df2b0afe4062b69bd772e9154f