I hereby claim:
- I am josemrb on github.
- I am josemrb (https://keybase.io/josemrb) on keybase.
- I have a public key whose fingerprint is F3A8 4717 141E A61E 634B FA93 473E 57E5 EDC6 CDC8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
describe ApiJob, type: :job do | |
include ActiveJob::TestHelper | |
subject(:job) { described_class.perform_later() } | |
it 'handles status 429' do | |
allow(ApiClient).to receive(:make_request).and_raise(RestClient::RequestFailed) | |
perform_enqueued_jobs do | |
expect_any_instance_of(described_class).to receive(:retry_job).with(wait: 15.seconds) |
ARG ALPINE_VERSION=3.12.0 | |
FROM hexpm/elixir:1.11.0-erlang-23.1.1-alpine-3.12.0 as builder | |
ARG APP_VSN="1.0.0" | |
# Replace `your_app` with your otp application name. | |
ENV APP_NAME=your_app \ | |
APP_VSN=${APP_VSN} \ | |
MIX_ENV=prod |