Hmm, this makes the test pass, but what does it test :)

I think you should `expect` here with mocha that `published` method is called from `__find_in_batches(scope: :published)`