Sha256: 106ad53a82b0f84233984cd8eaad13184ef37c711dbfc471646eb49ef59e10fc
Contents?: true
Size: 390 Bytes
Versions: 10
Compression:
Stored size: 390 Bytes
Contents
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