File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ inherit_mode:
1111
1212AllCops :
1313 NewCops : enable
14- TargetRubyVersion : 3.1
14+ TargetRubyVersion : 3.2
1515 Exclude :
1616 - ' spec/dummy/config/**/*'
1717 - ' spec/dummy/app/**/*'
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ class Foo
275275 # in the context of the controller. We use `let!` to make sure the
276276 # proc is defined straightaway, rather than later, when `request` and
277277 # `current_user` might be in scope.
278- let! ( :redirect_proc ) do # rubocop:disable RSpec/LetSetup
278+ let! ( :redirect_proc ) do
279279 -> { "#{ request . env [ 'omniauth.origin' ] } /extra?#{ { email : current_user . email } . to_query } " }
280280 end
281281
@@ -293,7 +293,7 @@ class Foo
293293 # in the context of the controller. We use `let!` to make sure the
294294 # proc is defined straightaway, rather than later, when `request` and
295295 # `current_user` might be in scope.
296- let! ( :redirect_proc ) do # rubocop:disable RSpec/LetSetup
296+ let! ( :redirect_proc ) do
297297 -> { raise ArgumentError }
298298 end
299299
You can’t perform that action at this time.
0 commit comments