aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2012-11-14 13:14:01 +0000
committerLouise Crow <louise.crow@gmail.com>2012-12-04 13:17:34 +0000
commit4ac3732880d4084832825dccabef3d6361bb169b (patch)
tree18529224bbf92b0435a19fc2a7d27733f7513991 /spec/controllers/request_controller_spec.rb
parent56c9a24adfe01d9b962a01a40aefa92e06193f30 (diff)
Fix syntax of example email. The number of expected attachments was based on the specific handling of a bad end boundary in tmail.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb
index e898fb91b..f40eecfff 100644
--- a/spec/controllers/request_controller_spec.rb
+++ b/spec/controllers/request_controller_spec.rb
@@ -757,7 +757,7 @@ describe RequestController, "when showing one request" do
assigns[:url_path].should_not == old_path
response.location.should have_text(/#{assigns[:url_path]}/)
zipfile = Zip::ZipFile.open(File.join(File.dirname(__FILE__), "../../cache/zips", assigns[:url_path])) { |zipfile|
- zipfile.count.should == 5 # the message, two hello.txt, the unknown attachment, and its empty message
+ zipfile.count.should == 4 # the message, two hello.txt plus the unknown attachment
}
end