class RSpec::Rails::Railtie
def config_preview_path?(options)
def config_preview_path?(options) # We cannot use `respond_to?(:show_previews)` here as it will always # return `true`. if options.show_previews.nil? options.show_previews = ::Rails.env.development? else options.show_previews end end