Sha256: d19c3b66c29dda3c1128a4984d2c146b777f3c0e5f6d08c35dc505e71969b72d

Contents?: true

Size: 458 Bytes

Versions: 22

Compression:

Stored size: 458 Bytes

Contents

# typed: false
# frozen_string_literal: true

require "test_helper"

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

  def setup
    super

    @update_plug_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

22 entries across 22 versions & 1 rubygems

Version Path
hephaestus-0.7.7.2 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.7 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.6.2 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.6.1 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.6 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.5.3 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.5.2 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.5.1 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.5 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.4.2 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.4.1 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.4 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.3.1 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.3 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.2.5 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.2.4 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.2.3 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.2.2 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.2.1 templates/test/jobs/update_yetto_job_test.rb
hephaestus-0.7.2 templates/test/jobs/update_yetto_job_test.rb