debian-mirror-gitlab/spec/workers/concerns/cluster_agent_queue_spec.rb
2023-06-20 00:43:36 +05:30

18 lines
380 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe ClusterAgentQueue, feature_category: :deployment_management do
let(:worker) do
Class.new do
def self.name
'ExampleWorker'
end
include ApplicationWorker
include ClusterAgentQueue
end
end
it { expect(worker.get_feature_category).to eq(:deployment_management) }
end