module RSpec::Rails::FeatureCheck

def has_action_mailer_show_preview?

def has_action_mailer_show_preview?
  has_action_mailer_preview? &&
    ::ActionMailer::Base.respond_to?(:show_previews=)
end