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:
authorRobert Speicher <robert@gitlab.com>2016-01-11 22:09:09 +0300
committerRobert Speicher <robert@gitlab.com>2016-01-11 22:09:09 +0300
commit6fc1aba4a3153e8b0d1bf16be1075012c0cb8459 (patch)
tree70b7591e093004c0598793d3ee38b7bd599b6c88 /spec/features
parent5dad714df6a95413d04c954577a5627234647648 (diff)
parentcdd3a806825db480b9cc9dfd36f3cf58c84e0f61 (diff)
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/features')
-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