diff options
-rw-r--r-- | doc/ci/variables/README.md | 1 | ||||
-rw-r--r-- | spec/requests/api/variables_spec.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md index 2f2023c02ae..b431cb41f4c 100644 --- a/doc/ci/variables/README.md +++ b/doc/ci/variables/README.md @@ -399,6 +399,7 @@ export CI_REGISTRY_USER="gitlab-ci-token" export CI_REGISTRY_PASSWORD="longalfanumstring" ``` +[ce-13784]: https://gitlab.com/gitlab-org/gitlab-ce/issues/13784 [runner]: https://docs.gitlab.com/runner/ [triggered]: ../triggers/README.md [triggers]: ../triggers/README.md#pass-job-variables-to-a-trigger diff --git a/spec/requests/api/variables_spec.rb b/spec/requests/api/variables_spec.rb index 0c83fb41525..83673864fe7 100644 --- a/spec/requests/api/variables_spec.rb +++ b/spec/requests/api/variables_spec.rb @@ -79,7 +79,7 @@ describe API::Variables do expect(response).to have_http_status(201) expect(json_response['key']).to eq('TEST_VARIABLE_2') expect(json_response['value']).to eq('VALUE_2') - expect(json_response['protected']).to eq(true) + expect(json_response['protected']).to be_truthy end it 'does not allow to duplicate variable key' do |