diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-11-05 16:36:52 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-11-05 16:36:52 +0300 |
commit | 5fd8933d97b694fb8ae6a57acaae8fb4e7922e73 (patch) | |
tree | 953d2e43b41d57af7b57f6406d6121eb4db74618 /spec/lib/gitlab | |
parent | a8da5238474f8f7ad4dab5461c5c5605894535db (diff) |
Use instance based approach for Normalizer
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r-- | spec/lib/gitlab/ci/config/normalizer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/config/normalizer_spec.rb b/spec/lib/gitlab/ci/config/normalizer_spec.rb index 48b8217f77c..84f8ea3e861 100644 --- a/spec/lib/gitlab/ci/config/normalizer_spec.rb +++ b/spec/lib/gitlab/ci/config/normalizer_spec.rb @@ -8,7 +8,7 @@ describe Gitlab::Ci::Config::Normalizer do let(:config) { { job_name => job_config } } describe '.normalize_jobs' do - subject { described_class.normalize_jobs(config) } + subject { described_class.new(config).normalize_jobs } it 'does not have original job' do is_expected.not_to include(job_name) |