diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-29 18:52:32 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-29 18:52:32 +1100 |
commit | 154cae159b90b3b2a8d60cd71d383f4fa1831878 (patch) | |
tree | d396e04467580e7c6378468119692e3c5febde6c | |
parent | 20c20a5e403f04dd4aa221a323e8b9ed3967dc52 (diff) |
mail from_addrs now doesn't return the name
-rw-r--r-- | spec/controllers/user_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/user_controller_spec.rb b/spec/controllers/user_controller_spec.rb index 4033bf0b6..a4a97acc7 100644 --- a/spec/controllers/user_controller_spec.rb +++ b/spec/controllers/user_controller_spec.rb @@ -335,7 +335,7 @@ describe UserController, "when sending another user a message" do mail.body.should include("Bob Smith has used #{Configuration::site_name} to send you the message below") mail.body.should include("Just a test!") #mail.to_addrs.first.to_s.should == users(:silly_name_user).name_and_email # XXX fix some nastiness with quoting name_and_email - mail.from_addrs.first.to_s.should == users(:bob_smith_user).name_and_email + mail.from_addrs.first.to_s.should == users(:bob_smith_user).email end end |