Commit e5aa2d88 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '6539-extract-ee-specific-code' into 'master'

Add no-op license helper to CE

See merge request gitlab-org/gitlab-ce!26723
parents f7e95de0 3f16b445
......@@ -15,6 +15,7 @@ describe QuickActions::InterpretService do
let(:service) { described_class.new(project, developer) }
before do
stub_licensed_features(multiple_issue_assignees: false)
project.add_developer(developer)
end
......
......@@ -66,6 +66,7 @@ RSpec.configure do |config|
metadata[:type] = match[1].singularize.to_sym if match
end
config.include LicenseHelpers
config.include ActiveJob::TestHelper
config.include ActiveSupport::Testing::TimeHelpers
config.include CycleAnalyticsHelpers
......
# frozen_string_literal: true
# Placeholder module for EE implementation needed for CE specs to be run in EE codebase
module LicenseHelpers
def stub_licensed_features(features)
# do nothing
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