Skip to content

Commit cf243ab

Browse files
committed
Rubocop
1 parent 37a127a commit cf243ab

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ inherit_mode:
1111

1212
AllCops:
1313
NewCops: enable
14-
TargetRubyVersion: 3.1
14+
TargetRubyVersion: 3.2
1515
Exclude:
1616
- 'spec/dummy/config/**/*'
1717
- 'spec/dummy/app/**/*'

spec/dummy/spec/requests/auth_request_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)