Sha256: de09242c317b8297f18c6ede685fc07a26459ff53544114e86e07415212265f4
Contents?: true
Size: 350 Bytes
Versions: 16
Compression:
Stored size: 350 Bytes
Contents
require 'test_helper' class EmitEventJobTest < ActiveSupport::TestCase setup do @stack = stacks(:shipit) @job = EmitEventJob.new end test "#perform schedule deliveries" do assert_difference -> { Delivery.scheduled.count }, 2 do @job.perform(event: :deploy, stack_id: @stack.id, payload: {foo: 42}.to_json) end end end
Version data entries
16 entries across 16 versions & 1 rubygems