Commit f2cc5644 authored by Dmitry Gruzd's avatar Dmitry Gruzd

Merge branch 'issue_220040_10' into 'master'

Fix Rails/SaveBang offenses for qa/qa/specs/features

See merge request gitlab-org/gitlab!75971
parents 0e03710b f57e94cb
...@@ -53,10 +53,6 @@ Rails/SaveBang: ...@@ -53,10 +53,6 @@ Rails/SaveBang:
- ee/spec/services/status_page/trigger_publish_service_spec.rb - ee/spec/services/status_page/trigger_publish_service_spec.rb
- ee/spec/services/todo_service_spec.rb - ee/spec/services/todo_service_spec.rb
- ee/spec/services/vulnerability_feedback/create_service_spec.rb - ee/spec/services/vulnerability_feedback/create_service_spec.rb
- qa/qa/specs/features/browser_ui/3_create/repository/push_mirroring_over_http_spec.rb
- qa/qa/specs/features/browser_ui/3_create/repository/push_mirroring_lfs_over_http_spec.rb
- qa/qa/specs/features/ee/browser_ui/3_create/repository/pull_mirroring_over_http_spec.rb
- qa/qa/specs/features/ee/browser_ui/3_create/repository/pull_mirroring_over_ssh_with_key_spec.rb
- spec/lib/backup/manager_spec.rb - spec/lib/backup/manager_spec.rb
- spec/lib/gitlab/alerting/alert_spec.rb - spec/lib/gitlab/alerting/alert_spec.rb
- spec/lib/gitlab/analytics/cycle_analytics/records_fetcher_spec.rb - spec/lib/gitlab/analytics/cycle_analytics/records_fetcher_spec.rb
......
...@@ -30,7 +30,7 @@ module QA ...@@ -30,7 +30,7 @@ module QA
mirror_settings.authentication_method = 'Password' mirror_settings.authentication_method = 'Password'
mirror_settings.password = Runtime::User.password mirror_settings.password = Runtime::User.password
mirror_settings.mirror_repository mirror_settings.mirror_repository
mirror_settings.update target_project_uri mirror_settings.update target_project_uri # rubocop:disable Rails/SaveBang
end end
end end
......
...@@ -29,7 +29,7 @@ module QA ...@@ -29,7 +29,7 @@ module QA
mirror_settings.authentication_method = 'Password' mirror_settings.authentication_method = 'Password'
mirror_settings.password = Runtime::User.password mirror_settings.password = Runtime::User.password
mirror_settings.mirror_repository mirror_settings.mirror_repository
mirror_settings.update target_project_uri mirror_settings.update target_project_uri # rubocop:disable Rails/SaveBang
end end
end end
......
...@@ -29,7 +29,7 @@ module QA ...@@ -29,7 +29,7 @@ module QA
mirror_settings.authentication_method = 'Password' mirror_settings.authentication_method = 'Password'
mirror_settings.password = Runtime::User.admin_password mirror_settings.password = Runtime::User.admin_password
mirror_settings.mirror_repository mirror_settings.mirror_repository
mirror_settings.update source_project_uri mirror_settings.update source_project_uri # rubocop:disable Rails/SaveBang
end end
end end
......
...@@ -52,7 +52,7 @@ module QA ...@@ -52,7 +52,7 @@ module QA
Page::Project::Menu.perform(&:go_to_repository_settings) Page::Project::Menu.perform(&:go_to_repository_settings)
Page::Project::Settings::Repository.perform do |settings| Page::Project::Settings::Repository.perform do |settings|
settings.expand_mirroring_repositories do |mirror_settings| settings.expand_mirroring_repositories do |mirror_settings|
mirror_settings.update source_project_uri mirror_settings.update source_project_uri # rubocop:disable Rails/SaveBang
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment