docbrown/spec/views/email_subscriptions/unsubscribe.html.erb_spec.rb
Michael Kohl b7ff9aadd1
Clean up SiteConfig (#13738)
* Remove obsolete SiteConfig values

* Remove DUS

* fixup! Remove obsolete SiteConfig values

* fixup! Remove obsolete SiteConfig values

* Add DUS for removing SiteConfig values

* Fix specs

* Fix specs

* Clean up more DUS

* Update DUS

* Fix remaining spec

* Remove leftover spec

* Fix more specs

* Fix spec

* Remove deprecated spec

* Rearrange specs

* Temporarily disable specs
2021-05-18 09:38:31 +07:00

10 lines
346 B
Ruby

require "rails_helper"
RSpec.describe "email_subscriptions/unsubscribe.html.erb", type: :view do
it "works" do
assign(:email_type, "#{Settings::Community.community_name} digest emails")
render
expect(rendered)
.to include("You have been unsubscribed from #{Settings::Community.community_name} digest emails. 😔")
end
end