Commit 4040dfcc authored by Kamil Trzciński's avatar Kamil Trzciński

Running in CI requires `spec_helper`

Due to bad ordering, where a spec would use
`fast_spec_helper` a not fully initialised environment
would be used. Ensure that `fast_spec_helper`
fallbacks to `spec_helper` in such cases
parent 32ae33c6
# frozen_string_literal: true # frozen_string_literal: true
# When running in CI environment, we need to load a full `spec_helper`
if ENV['CI']
require_relative 'spec_helper'
return
end
require 'bundler/setup' require 'bundler/setup'
ENV['GITLAB_ENV'] = 'test' ENV['GITLAB_ENV'] = 'test'
......
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