Swap out "@" for "via" in email From field

This commit is contained in:
Robin Ward
2013-02-27 19:01:45 -05:00
parent c62729b5b6
commit a086635add
3 changed files with 4 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ describe UserNotifications do
its(:from) { should == [SiteSetting.notification_email] }
it "should have the correct from address" do
subject.header['from'].to_s.should == "\"#{username} @ #{SiteSetting.title}\" <#{SiteSetting.notification_email}>"
subject.header['from'].to_s.should == "#{username} via #{SiteSetting.title} <#{SiteSetting.notification_email}>"
end