Skip to content

Commit

Permalink
Merge pull request #1590 from etalab/maintenance/rubocop
Browse files Browse the repository at this point in the history
Maintenance rubocop
  • Loading branch information
skelz0r authored Jul 8, 2024
2 parents 60c830b + d5ce65b commit 692763b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ require:
- rubocop-rails
- rubocop-capybara
- rubocop-factory_bot
- rubocop-rspec_rails

AllCops:
NewCops: enable
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ group :development do
gem 'rubocop-rspec'
gem 'rubocop-capybara'
gem 'rubocop-factory_bot'
gem 'rubocop-rspec_rails'

gem 'better_errors'
gem 'binding_of_caller'
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ GEM
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (3.0.2)
rubocop (~> 1.61)
rubocop-rspec_rails (2.30.0)
rubocop (~> 1.61)
rubocop-rspec (~> 3, >= 3.0.1)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
sass-rails (6.0.0)
Expand Down Expand Up @@ -625,6 +628,7 @@ DEPENDENCIES
rubocop-factory_bot
rubocop-rails
rubocop-rspec
rubocop-rspec_rails
sass-rails (>= 6)
sentry-rails
sentry-ruby
Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/api/datapass_webhooks_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
it 'renders 422' do
subject

expect(response).to have_http_status(422)
expect(response).to have_http_status(:unprocessable_content)
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
it 'renders 422' do
subject

expect(response).to have_http_status(422)
expect(response).to have_http_status(:unprocessable_content)
end
end
end
Expand Down

0 comments on commit 692763b

Please sign in to comment.