Sha256: 8f4e100e5980ae54c75c5d1ae22ddd2c5ba38e49d4a6c3624718d0c977b69e15
Contents?: true
Size: 422 Bytes
Versions: 10
Compression:
Stored size: 422 Bytes
Contents
# frozen_string_literal: true require 'test_helper' module Shipit class EmitEventJobTest < ActiveSupport::TestCase setup do @stack = shipit_stacks(:shipit) @job = EmitEventJob.new end test "#perform schedule deliveries" do assert_enqueued_jobs(2, only: DeliverHookJob) do @job.perform(event: :deploy, stack_id: @stack.id, payload: { foo: 42 }.to_json) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems