diff --git a/spec/mailers/user_notifications_spec.rb b/spec/mailers/user_notifications_spec.rb index 34596e55f1c..2361761c955 100644 --- a/spec/mailers/user_notifications_spec.rb +++ b/spec/mailers/user_notifications_spec.rb @@ -129,7 +129,7 @@ describe UserNotifications do end it "has a from alias" do - expects_build_with(has_entry(:from_alias, "#{username} via #{SiteSetting.title}")) + expects_build_with(has_entry(:from_alias, "#{username}")) end end end