diff options
| author | Lin Jen-Shin <godfat@godfat.org> | 2017-05-26 15:35:30 +0800 |
|---|---|---|
| committer | Lin Jen-Shin <godfat@godfat.org> | 2017-05-26 15:35:30 +0800 |
| commit | 9cc918a5caca931887026d258ea1dcd6499d7c2f (patch) | |
| tree | 095c548aa1cf2af09449f37aee7bedd19ee31dd3 | |
| parent | 7f0116768188118d9291de3dc2f62af2d40795b9 (diff) | |
| download | gitlab-ce-9cc918a5caca931887026d258ea1dcd6499d7c2f.tar.gz | |
Use be_truthy and add back missing link
| -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 |
