summaryrefslogtreecommitdiff
path: root/spec/controllers/concerns
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-07 12:08:27 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-07 12:08:27 +0000
commite799c1393aaae58ace8f81141bd723b5d599c864 (patch)
treeb01b974fdbc372b674e80cb09a32588c6aeb17bd /spec/controllers/concerns
parent8228f6e154ed6b1884fab3fe5dc79a0552662d1b (diff)
downloadgitlab-ce-e799c1393aaae58ace8f81141bd723b5d599c864.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers/concerns')
-rw-r--r--spec/controllers/concerns/check_rate_limit_spec.rb6
-rw-r--r--spec/controllers/concerns/issuable_actions_spec.rb6
2 files changed, 4 insertions, 8 deletions
diff --git a/spec/controllers/concerns/check_rate_limit_spec.rb b/spec/controllers/concerns/check_rate_limit_spec.rb
index 34ececfe639..75776acd520 100644
--- a/spec/controllers/concerns/check_rate_limit_spec.rb
+++ b/spec/controllers/concerns/check_rate_limit_spec.rb
@@ -19,11 +19,9 @@ RSpec.describe CheckRateLimit do
@current_user = current_user
end
- def redirect_back_or_default(**args)
- end
+ def redirect_back_or_default(**args); end
- def render(**args)
- end
+ def render(**args); end
end
end
diff --git a/spec/controllers/concerns/issuable_actions_spec.rb b/spec/controllers/concerns/issuable_actions_spec.rb
index 37d9dc080e1..34f47ed16f2 100644
--- a/spec/controllers/concerns/issuable_actions_spec.rb
+++ b/spec/controllers/concerns/issuable_actions_spec.rb
@@ -14,8 +14,7 @@ RSpec.describe IssuableActions do
klass = Class.new do
attr_reader :current_user, :project, :issuable
- def self.before_action(action = nil, params = nil)
- end
+ def self.before_action(action = nil, params = nil); end
include IssuableActions
@@ -40,8 +39,7 @@ RSpec.describe IssuableActions do
[]
end
- def render(options)
- end
+ def render(options); end
end
klass.new(issuable, project, user, finder_params_for_issuable)