Sha256: 6c90a33710bc234652d2598bac88c522e28349b1d338f3ffc1dd6d3b7a31b13e

Contents?: true

Size: 453 Bytes

Versions: 12

Compression:

Stored size: 453 Bytes

Contents

# typed: false
# frozen_string_literal: true

require "test_helper"

class UpdateYettoJobTest < ActiveJob::TestCase
  include Webmocks::YettoWebmock

  def setup
    super

    @update_installation_body = {
      credentials: {},
      settings: {},
    }
  end

  test "does nothing if type is not supported" do
    params = {
      type: "not_supported",
    }
    assert_no_enqueued_jobs do
      UpdateYettoJob.perform_now(params)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hephaestus-0.6.4 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.6.3 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.6.2 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.6.1 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.6.0 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.5.2 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.5.1 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.5.0 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.4.0 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.3.1 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.2.3 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.2.2 templates/test/jobs/update_yetto_job_test.rb