Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-11 15:34:12 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-11 15:37:31 +0300
commitcdd3a806825db480b9cc9dfd36f3cf58c84e0f61 (patch)
treeb4eaae50d3485609bc9c9615813559c5e74353af /spec/features/ci_lint_spec.rb
parentf41b535ced0cdddb67661bdb0a6216216dc6b89c (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.rb8
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