diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-03-04 16:51:52 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-03-04 16:51:52 +1100 |
commit | 889a9b28f188a144553cb91b698e5a2d7c96c1a2 (patch) | |
tree | d72f667776f9a3048df95de79e76677fc9613db9 /spec/controllers | |
parent | ac412859a4ba0ac625feb7d2f212213444b7ae41 (diff) |
Surely we expect the modified body here
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index 1daa239cc..842b4e47c 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -609,7 +609,7 @@ describe RequestController, "when showing one request" do ir.incoming_messages[1].parse_raw_email!(force) ir.reload attachment = IncomingMessage.get_attachment_by_url_part_number(ir.incoming_messages[1].get_attachments_for_display, 2) - attachment.body.should contain "Second hello" + attachment.body.should contain "Third hello" get :get_attachment_as_html, :incoming_message_id => ir.incoming_messages[1].id, :id => ir.id, :part => 2, :file_name => 'hello.txt.html', :skip_cache => 1 response.should contain "Third hello" end |