Remove HtmlVariantTrialCreateJob & spec (#5910)

This commit is contained in:
Alex 2020-02-05 13:32:45 -08:00 committed by GitHub
parent 6a100415cc
commit 8a46f4c701
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 13 deletions

View file

@ -1,7 +0,0 @@
class HtmlVariantTrialCreateJob < ApplicationJob
queue_as :html_variant_trial_create
def perform(html_variant_id:, article_id:)
HtmlVariantTrial.create!(html_variant_id: html_variant_id, article_id: article_id)
end
end

View file

@ -1,6 +0,0 @@
require "rails_helper"
require "jobs/shared_examples/enqueues_job"
RSpec.describe HtmlVariantTrialCreateJob, type: :job do
include_examples "#enqueues_job", "html_variant_trial_create", [{ html_variant_id: 789, article_id: 456 }]
end