summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Davison <ddavison@gitlab.com>2019-07-11 21:12:34 +0000
committerDan Davison <ddavison@gitlab.com>2019-07-11 21:12:34 +0000
commit1375f39998bd17cc07ef004b8f0aff082dcd1122 (patch)
tree0c5af2326f2629df0b182b5c4d6967ae7ecc5cf2
parenta8859f3da7f35e4c6a183652a83a2de103c99dc8 (diff)
parent513c0f6c729e89c0d9104f857453afd3897f7a61 (diff)
downloadgitlab-ce-1375f39998bd17cc07ef004b8f0aff082dcd1122.tar.gz
Merge branch 'qa/explicitly-create-resources-via-api' into 'master'
Explicitly create resources via the API See merge request gitlab-org/gitlab-ce!30639
-rw-r--r--qa/qa/specs/features/browser_ui/4_verify/ci_variable/add_ci_variable_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/specs/features/browser_ui/4_verify/ci_variable/add_ci_variable_spec.rb b/qa/qa/specs/features/browser_ui/4_verify/ci_variable/add_ci_variable_spec.rb
index b060f15168c..b2c70547421 100644
--- a/qa/qa/specs/features/browser_ui/4_verify/ci_variable/add_ci_variable_spec.rb
+++ b/qa/qa/specs/features/browser_ui/4_verify/ci_variable/add_ci_variable_spec.rb
@@ -7,12 +7,12 @@ module QA
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials)
- project = Resource::Project.fabricate! do |project|
+ project = Resource::Project.fabricate_via_api! do |project|
project.name = 'project-with-ci-variables'
project.description = 'project with CI variables'
end
- Resource::CiVariable.fabricate! do |resource|
+ Resource::CiVariable.fabricate_via_api! do |resource|
resource.project = project
resource.key = 'VARIABLE_KEY'
resource.value = 'some_CI_variable'