diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6882117..d216d2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,9 @@ jobs: - '2.6' - '2.7' - '3.0' + - '3.1' + - '3.2' + - '3.3' name: Run test with Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v2 diff --git a/spec/barbeque/client_spec.rb b/spec/barbeque/client_spec.rb index b850f61..26cdad4 100644 --- a/spec/barbeque/client_spec.rb +++ b/spec/barbeque/client_spec.rb @@ -19,11 +19,13 @@ it 'enqueues a job to barbeque' do expect(garage_client).to receive(:post).with( '/v2/job_executions', - application: application, - job: job, - message: message, - queue: default_queue, - delay_seconds: nil, + { + application: application, + job: job, + message: message, + queue: default_queue, + delay_seconds: nil, + }, ).and_return(result) client.create_execution(job: job, message: message) end @@ -34,11 +36,13 @@ it 'enqueues with specified parameters' do expect(garage_client).to receive(:post).with( '/v2/job_executions', - application: application, - job: job, - message: message, - queue: queue, - delay_seconds: nil, + { + application: application, + job: job, + message: message, + queue: queue, + delay_seconds: nil, + }, ).and_return(result) client.create_execution(job: job, message: message, queue: queue) end