diff options
author | Robert Speicher <robert@gitlab.com> | 2016-01-11 19:09:09 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-01-11 19:09:09 +0000 |
commit | 6fc1aba4a3153e8b0d1bf16be1075012c0cb8459 (patch) | |
tree | 70b7591e093004c0598793d3ee38b7bd599b6c88 /spec | |
parent | 5dad714df6a95413d04c954577a5627234647648 (diff) | |
parent | cdd3a806825db480b9cc9dfd36f3cf58c84e0f61 (diff) | |
download | gitlab-ce-6fc1aba4a3153e8b0d1bf16be1075012c0cb8459.tar.gz |
Merge branch 'fix/ci-linter-sequence-validations' into 'master'
Allow subsequent validations in CI Linter
Closes #5851
See merge request !2368
Diffstat (limited to 'spec')
-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 |