aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
authorRobin Houston <robin@lenny.robin>2011-06-21 03:09:42 +0100
committerRobin Houston <robin@lenny.robin>2011-06-21 03:11:35 +0100
commit543ee94019b124387ef775c1312e40730a0d1cdd (patch)
treef058350f01f69dd0695b58a2a0bee061bfde2e0b /spec/controllers/request_controller_spec.rb
parent9e6a39814fc2db20a5b0938a0b623561393ca8f2 (diff)
Get rid of commented-out STDERR.puts messages
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb
index 759ac5ea1..ac44cb905 100644
--- a/spec/controllers/request_controller_spec.rb
+++ b/spec/controllers/request_controller_spec.rb
@@ -361,7 +361,6 @@ describe RequestController, "when creating a new request" do
deliveries.size.should == 1
mail = deliveries[0]
mail.body.should =~ /This is a silly letter. It is too short to be interesting./
- #STDERR.puts "=====" + mail.body + "======"
response.should redirect_to(:action => 'show', :url_title => ir.url_title)
end
@@ -863,7 +862,6 @@ describe RequestController, "when sending a followup message" do
mail = deliveries[0]
mail.body.should =~ /What a useless response! You suck./
mail.to_addrs.to_s.should == "FOI Person <foiperson@localhost>"
- #STDERR.puts "=====" + mail.body + "======"
response.should redirect_to(:action => 'show', :url_title => info_requests(:fancy_dog_request).url_title)
@@ -1078,7 +1076,6 @@ describe RequestController, "comment alerts" do
# XXX check mail_url here somehow, can't call comment_url like this:
# mail_url.should == comment_url(comments(:silly_comment))
- #STDERR.puts mail.body
# check if we send again, no more go out
deliveries.clear
@@ -1122,7 +1119,6 @@ describe RequestController, "comment alerts" do
# XXX check mail_url here somehow, can't call comment_url like this:
# mail_url.should == comment_url(comments(:silly_comment))
- #STDERR.puts mail.body
end
end