Skip to content

Commit

Permalink
Fix trivial offenses in non-production code
Browse files Browse the repository at this point in the history
- RSpec/ExpectInHook
- RSpec/FilePath
- RSpec/SpecFilePathFormat
  • Loading branch information
tagliala committed Jan 9, 2024
1 parent 444db86 commit 6d0ec67
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 22 deletions.
8 changes: 8 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@ AllCops:
Exclude:
- 'gemfiles/**/*'
- 'vendor/bundle/**/*'

RSpec/FilePath:
CustomTransform:
OmniAuth: omniauth

RSpec/SpecFilePathFormat:
CustomTransform:
OmniAuth: omniauth
21 changes: 0 additions & 21 deletions .rubocop_todo.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion spec/omniauth/strategies/cas/logout_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
before do
allow(strategy).to receive(:fail!)
subject
expect(strategy).to have_received(:fail!)
end

it 'responds with an error' do
Expand Down

0 comments on commit 6d0ec67

Please sign in to comment.