Closed mydearxym closed 5 years ago
Jobs are not automatically run in the ecto sandbox by design (as you probably don't want side effecting jobs to run non-deterministically in your tests).
If you want to to run the jobs query the database for the data and manually run the jobs.
Personally I prefer to query the database and make assertions about what is in the queue and then to unit test the jobs seperately.
hi there ~
i have tried rihanna in my Elixir project, follow the config in README.md, but the job is not executed in ExUnit sandbox, is there sth i missing ?
there is no "work, work .." in console, how could i make it run in test env ?
also i am not sure if #59 facing the same problem
OS: mac 10.13.1 Rihanna version: latest Elixir version: latest(1.9.0) Phoenix version: latest