Sha256: 0e0092b74defc6b833db7c8c90ac02dee6ead509e9abf128317da42728e7cc42
Contents?: true
Size: 629 Bytes
Versions: 1
Compression:
Stored size: 629 Bytes
Contents
require "spec_helper" RSpec.describe "suspenders:production:email" do it "generates the configuration for a production email deployment" do with_app { generate("suspenders:production:email") } expect("config/smtp.rb").to match_contents(%r{SMTP_SETTINGS\s*=}) expect("config/environments/production.rb").to \ match_contents(%r{require.+config/smtp}) expect("config/environments/production.rb").to \ match_contents(%r{action_mailer.delivery_method\s*=\s*:smtp}) expect("config/environments/production.rb").to \ match_contents(%r{action_mailer.smtp_settings\s*=\s*SMTP_SETTINGS}) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
suspenders-1.47.0 | spec/features/production/email_spec.rb |