Current section

Files

Jump to
helen test test_helper.exs
Raw

test/test_helper.exs

#
# before running tests delete everything in the database
#
[
Thermostat,
MessageSave,
Dutycycle,
Switch.Alias,
Switch.Device,
PulseWidth,
Sensor,
Remote
]
|> HelenTest.delete_all()
#
# ExUnit.configure(
# exclude: [ota: true, mixtank: true, dutycycle: true],
# include: [thermostat: true]
# )
ExUnit.start()