Salman Siddiqui
Salman Siddiqui
support for testing? I am not able to test anything where a worker is being invoked which includes `SidekiqStatus::Worker` or where I use `SidekiqStatus::Container`. It fails to connect to redis....
There is this action in controller which is supposed to return status of job ``` def get_job_status container = SidekiqStatus::Container.load(params[:job_id]) @result = { status: container.status, completed: container.at, total: container.total }...
and what if I wanted to test my job? :smile: Sidekiq does this mocking of workers by itself in test environment. I suggest that this gem (and any other sidekiq...
way too late to answer, anyone in future wondering the same thing, you can pass `selector` to `ws.capture` e.g: ``` ws.capture "http://google.com/", "public/screenshots/#{self.id}/screenshot.png", selector: '.class-name' ``` though this gem always...
is the codebase same for client and worker? As far as I can tell, this gem looks for loaded Sidekiq::Workers classes, if there are none then you won't be able...