Closed seuros closed 10 years ago
I was trying locally after cherry-picking your last commit in your repo but I'm trying to figure out how to add specific tests for some adapter... I can't find any examples so far...
Well , we could do skip if ActiveJob::Base.queue_adapter == :inline_threaded
but i don't like this.
I'd prefer to use a separte file for specific adapter tests. But I couldn't find where scheduled_at is tested for the inline adapter for instance... So I'm not sure what conventions to use...
The tests after cherry-picking passed here, but they don't test anything useful for the InlineThreaded adapter for instance...
scheduled_at ? you mean enqueue_at
Yes, sorry for the confusion. This test is for the generic interface and it will not test the inline adapter, right? For example, it doesn't ensure that the job was indeed run.
ref #76 , #80 cc/ @rosenfeld, @cristianbica, @dhh