Skip to content

Commit

Permalink
Merge PR #16 from TreinaDev/fix/corrige-config-rubocop
Browse files Browse the repository at this point in the history
Adiciona correções sugeridas pelo Rubocop na main
  • Loading branch information
eliseuramos93 authored Jan 17, 2024
2 parents 641b8a8 + 8f0ca6b commit 9a23dad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ require:
AllCops:
NewCops: disable
TargetRubyVersion: 3.2.2
Include:
- '**/Rakefile'
- '**/Gemfile'
- '**/config.ru'
Exclude:
- 'bin/**/*'
- 'vendor/**/*'
Expand Down
4 changes: 2 additions & 2 deletions app/mailers/application_mailer.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class ApplicationMailer < ActionMailer::Base
default from: "[email protected]"
layout "mailer"
default from: '[email protected]'
layout 'mailer'
end
3 changes: 1 addition & 2 deletions spec/support/capybara_screenshots.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module NoFailedScreenshots
def take_failed_screenshot
end
def take_failed_screenshot; end
end

RSpec.configure do |config|
Expand Down
2 changes: 1 addition & 1 deletion spec/support/factory_bot.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
RSpec.configure do |config|
config.include FactoryBot::Syntax::Methods
end
end

0 comments on commit 9a23dad

Please sign in to comment.