No more Fake_Session_Maker
No more Fake_Session_Maker
Description
There is no need for a fake_session_maker factory. It is a little overkill and might induce production bugs not catch by the test suite.
How to:
Suggestion
Instead of fake_session_maker fixture,
- Add an auto-use fixture that will create an alternative session_maker engine that will target the fake database instead of production one.
- Create an auto-use fixture that depends on the first fixture for building db as setup, dropping at tear-down.