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' },
|
variables: { 'VAR' => 'value' },
|
||||||
ignore: false,
|
ignore: false,
|
||||||
after_script: ['make clean'],
|
after_script: ['make clean'],
|
||||||
only: { refs: %w[branches tags] },
|
only: { refs: %w[branches tags] } },
|
||||||
except: {} },
|
|
||||||
spinach: { name: :spinach,
|
spinach: { name: :spinach,
|
||||||
before_script: [],
|
before_script: [],
|
||||||
script: %w[spinach],
|
script: %w[spinach],
|
||||||
|
@ -172,8 +171,7 @@ describe Gitlab::Ci::Config::Entry::Global do
|
||||||
variables: {},
|
variables: {},
|
||||||
ignore: false,
|
ignore: false,
|
||||||
after_script: ['make clean'],
|
after_script: ['make clean'],
|
||||||
only: { refs: %w[branches tags] },
|
only: { refs: %w[branches tags] } }
|
||||||
except: {} }
|
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -258,8 +258,7 @@ describe Gitlab::Ci::Config::Entry::Job do
|
||||||
stage: 'test',
|
stage: 'test',
|
||||||
ignore: false,
|
ignore: false,
|
||||||
after_script: %w[cleanup],
|
after_script: %w[cleanup],
|
||||||
only: { refs: %w[branches tags] },
|
only: { refs: %w[branches tags] })
|
||||||
except: {})
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -67,14 +67,12 @@ describe Gitlab::Ci::Config::Entry::Jobs do
|
||||||
script: %w[rspec],
|
script: %w[rspec],
|
||||||
ignore: false,
|
ignore: false,
|
||||||
stage: 'test',
|
stage: 'test',
|
||||||
only: { refs: %w[branches tags] },
|
only: { refs: %w[branches tags] } },
|
||||||
except: {} },
|
|
||||||
spinach: { name: :spinach,
|
spinach: { name: :spinach,
|
||||||
script: %w[spinach],
|
script: %w[spinach],
|
||||||
ignore: false,
|
ignore: false,
|
||||||
stage: 'test',
|
stage: 'test',
|
||||||
only: { refs: %w[branches tags] },
|
only: { refs: %w[branches tags] } })
|
||||||
except: {} })
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue