2022-03-02 08:16:31 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2023-06-20 00:43:36 +05:30
|
|
|
RSpec.describe ClusterAgentQueue, feature_category: :deployment_management do
|
2022-03-02 08:16:31 +05:30
|
|
|
let(:worker) do
|
|
|
|
Class.new do
|
|
|
|
def self.name
|
|
|
|
'ExampleWorker'
|
|
|
|
end
|
|
|
|
|
|
|
|
include ApplicationWorker
|
|
|
|
include ClusterAgentQueue
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2023-06-20 00:43:36 +05:30
|
|
|
it { expect(worker.get_feature_category).to eq(:deployment_management) }
|
2022-03-02 08:16:31 +05:30
|
|
|
end
|