Fix specs related to emtpy except
policy config
This commit is contained in:
parent
0ea8c236c1
commit
0cba9bef8a
3 changed files with 5 additions and 10 deletions
|
@ -160,8 +160,7 @@ describe Gitlab::Ci::Config::Entry::Global do
|
|||
variables: { 'VAR' => 'value' },
|
||||
ignore: false,
|
||||
after_script: ['make clean'],
|
||||
only: { refs: %w[branches tags] },
|
||||
except: {} },
|
||||
only: { refs: %w[branches tags] } },
|
||||
spinach: { name: :spinach,
|
||||
before_script: [],
|
||||
script: %w[spinach],
|
||||
|
@ -172,8 +171,7 @@ describe Gitlab::Ci::Config::Entry::Global do
|
|||
variables: {},
|
||||
ignore: false,
|
||||
after_script: ['make clean'],
|
||||
only: { refs: %w[branches tags] },
|
||||
except: {} }
|
||||
only: { refs: %w[branches tags] } }
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -258,8 +258,7 @@ describe Gitlab::Ci::Config::Entry::Job do
|
|||
stage: 'test',
|
||||
ignore: false,
|
||||
after_script: %w[cleanup],
|
||||
only: { refs: %w[branches tags] },
|
||||
except: {})
|
||||
only: { refs: %w[branches tags] })
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -67,14 +67,12 @@ describe Gitlab::Ci::Config::Entry::Jobs do
|
|||
script: %w[rspec],
|
||||
ignore: false,
|
||||
stage: 'test',
|
||||
only: { refs: %w[branches tags] },
|
||||
except: {} },
|
||||
only: { refs: %w[branches tags] } },
|
||||
spinach: { name: :spinach,
|
||||
script: %w[spinach],
|
||||
ignore: false,
|
||||
stage: 'test',
|
||||
only: { refs: %w[branches tags] },
|
||||
except: {} })
|
||||
only: { refs: %w[branches tags] } })
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue