Commit 68083a03 authored by Stan Hu's avatar Stan Hu

Add Ruby 2.3.7 workaround for lib/gitlab/github_import/parallel_importer.rb

parent 201c1917
......@@ -17,6 +17,15 @@ module Gitlab
true
end
# This is a workaround for a Ruby 2.3.7 bug. rspec-mocks cannot restore
# the visibility of prepended modules. See
# https://github.com/rspec/rspec-mocks/issues/1231 for more details.
if Rails.env.test?
def self.requires_ci_cd_setup?
raise NotImplementedError
end
end
def initialize(project)
@project = project
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