Commit f248fc3d authored by Valery Sizov's avatar Valery Sizov

[CE->EE] fix spec/lib/gitlab/usage_data_spec.rb

parent 3d23899c
require 'spec_helper'
describe Gitlab::UsageData do
let(:project) { create(:empty_project) }
let(:projects) { create_list(:project, 3) }
let!(:board) { create(:board, project: projects[0]) }
......@@ -145,7 +146,7 @@ describe Gitlab::UsageData do
allow(License).to receive(:feature_available?).with(:service_desk).and_return(true)
allow(::EE::Gitlab::ServiceDesk).to receive(:enabled?).with(anything).and_return(true)
expect(subject).to eq(service_desk_enabled_projects: 2,
expect(subject).to eq(service_desk_enabled_projects: 4,
service_desk_issues: 3)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment