Updated

spec/mailers/previews / feedback_mailer_preview.rb

A
6 lines of codes
1 methods
2.2 complexity/method
1 churn
2.2 complexity
0 duplications
# Preview all emails at http://localhost:3000/rails/mailers/feedback_mailer class FeedbackMailerPreview < ActionMailer::Preview def send_feedback
  1. FeedbackMailerPreview#send_feedback doesn't depend on instance state (maybe move it to another class?)
FeedbackMailer.send_feedback(Feedback.last) end end