Skip to content
代码片段 群组 项目
提交 349b985e 编辑于 作者: Peter Leitzen's avatar Peter Leitzen
浏览文件

Merge branch 'issue_344279_clusters_gcp_spec' into 'master'

Fix Style/OpenStructUse offenses gcp_spec

See merge request gitlab-org/gitlab!75222
No related branches found
No related tags found
无相关合并请求
......@@ -21,7 +21,6 @@ Style/OpenStructUse:
- spec/dependencies/omniauth_saml_spec.rb
- spec/factories/go_module_versions.rb
- spec/factories/wiki_pages.rb
- spec/features/projects/clusters/gcp_spec.rb
- spec/features/projects/clusters_spec.rb
- spec/finders/template_finder_spec.rb
- spec/graphql/mutations/branches/create_spec.rb
......
......@@ -49,7 +49,8 @@ def submit_form
before do
allow_any_instance_of(GoogleApi::CloudPlatform::Client)
.to receive(:projects_zones_clusters_create) do
OpenStruct.new(
double(
'cluster',
self_link: 'projects/gcp-project-12345/zones/us-central1-a/operations/ope-123',
status: 'RUNNING'
)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册