summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2015-12-11 15:23:43 +0100
committerGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2015-12-11 15:23:43 +0100
commitbc1cfd384f4f972ad887b0501280b9f94d4c94ac (patch)
treea63415ba6dd702acf2f56c629031fc9889ce12c2
parent6b0c0d5bcc7940c7d84b8af965b2c4f9ceeb4175 (diff)
downloadgitlab-ce-ci/persist-registration-token.tar.gz
Stub also `ensure_*` method in CI runners API specsci/persist-registration-token
-rw-r--r--spec/requests/ci/api/runners_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/ci/api/runners_spec.rb b/spec/requests/ci/api/runners_spec.rb
index 962d34a0f95..ef40d757665 100644
--- a/spec/requests/ci/api/runners_spec.rb
+++ b/spec/requests/ci/api/runners_spec.rb
@@ -8,6 +8,7 @@ describe Ci::API::API do
before do
stub_gitlab_calls
+ stub_application_setting(ensure_runners_registration_token: registration_token)
stub_application_setting(runners_registration_token: registration_token)
end