Sha256: b79414b6301ffeb00ed726d9c23a64c75ce3eefb1bbc77b39087eca04a50058d
Contents?: true
Size: 409 Bytes
Versions: 42
Compression:
Stored size: 409 Bytes
Contents
require 'test_helper' module Shipit class DeliverHookJobTest < ActiveSupport::TestCase setup do @delivery = shipit_deliveries(:scheduled_shipit_deploy) @job = DeliverHookJob.new end test "#perform delivers a delivery" do FakeWeb.register_uri(:post, @delivery.url, body: 'OK') @job.perform(@delivery) assert_equal 'sent', @delivery.reload.status end end end
Version data entries
42 entries across 42 versions & 1 rubygems