diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-03-05 14:47:42 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-03-05 14:49:59 +1100 |
commit | 8fa171594df6905e2d03359b896e550b260b0d8f (patch) | |
tree | a3932659600bbea28fc87f55ddf6aa8460d4e405 | |
parent | 10a76a091bce366a30850b3f60354e5fe52abf5e (diff) |
Be a bit more exact
-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 1f86c070f..a18554114 100644 --- a/spec/controllers/user_controller_spec.rb +++ b/spec/controllers/user_controller_spec.rb @@ -495,7 +495,7 @@ describe UserController, "when changing email address" do deliveries = ActionMailer::Base.deliveries deliveries.size.should == 1 mail = deliveries[0] - mail.body.should include("confirm that you want to change") + mail.body.should include("confirm that you want to \nchange") mail.to.should == [ 'newbob@localhost' ] mail.body.to_s =~ /(http:\/\/.*(\/c\/(.*)))/ |