Skip to content

Commit

Permalink
Adiciona correções sugeridas pelo rubocop
Browse files Browse the repository at this point in the history
- Aspas duplas em app/mailers/application_mailer.rb
- Falta de linha em branco no final de spec/support/factory_bot.rb
- Método vazio em spec/support/capybara_screenshots.rb

Co-authored-by: Danilo Martins <[email protected]>
  • Loading branch information
eliseuramos93 and DanSmaR committed Jan 17, 2024
1 parent 0eb6171 commit 8f0ca6b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
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 8f0ca6b

Please sign in to comment.