Skip to content

Commit

Permalink
Fix up rubocop deprecations / offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-hill committed Sep 14, 2023
1 parent d3d4f46 commit 16bc0c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Lint/MissingSuper:

Layout/LineLength:
Max: 200
IgnoredPatterns:
AllowedPatterns:
- '^Given'
- '^When'
- '^Then'
Expand Down
2 changes: 1 addition & 1 deletion features/support/cucumber_rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def configure_rails_layout
def run_rails_new_command(options)
options[:name] ||= 'test_app'
flags = %w[--skip-action-cable --skip-action-mailer --skip-active-job --skip-bootsnap --skip-bundle --skip-javascript
--skip-jbuilder --skip-listen --skip-spring --skip-sprockets --skip-test-unit --skip-turbolinks --skip-active-storage]
--skip-jbuilder --skip-listen --skip-spring --skip-sprockets --skip-test-unit --skip-turbolinks --skip-active-storage]
flags += %w[--skip-action-mailbox --skip-action-text] if rails_equal_or_higher_than?('6.0')
run_command "bundle exec rails new #{options[:name]} #{flags.join(' ')} #{options[:args]}"
end
Expand Down

0 comments on commit 16bc0c3

Please sign in to comment.