diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-11 15:34:12 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-11 15:37:31 +0300 |
commit | cdd3a806825db480b9cc9dfd36f3cf58c84e0f61 (patch) | |
tree | b4eaae50d3485609bc9c9615813559c5e74353af /spec/features/ci_lint_spec.rb | |
parent | f41b535ced0cdddb67661bdb0a6216216dc6b89c (diff) |
Allow subsequent validations in CI Linter
Closes #5851
Diffstat (limited to 'spec/features/ci_lint_spec.rb')
-rw-r--r-- | spec/features/ci_lint_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/features/ci_lint_spec.rb b/spec/features/ci_lint_spec.rb index e6e73e5e67c..30e29d9d552 100644 --- a/spec/features/ci_lint_spec.rb +++ b/spec/features/ci_lint_spec.rb @@ -35,5 +35,13 @@ describe 'CI Lint' do expect(page).to have_content('Error: Please provide content of .gitlab-ci.yml') end end + + describe 'YAML revalidate' do + let(:yaml_content) { 'my yaml content' } + + it 'loads previous YAML content after validation' do + expect(page).to have_field('content', with: 'my yaml content', type: 'textarea') + end + end end end |